title: How can I change width of all Th and td using jquery?
body: <p>I want to assign 130 to first th and first td of all rows, 100 to second th and second td of all rows, 40 to third th and third td of all rows, 120 to fourth th and fourth td of all rows and 230 to to fifth th and fifth td of all rows.</p>
  
  <p>My Code for just first th and first td is </p>
  
  <pre><code>$('#tiptip_content table th, td').eq(0).css('width','130px');
  $('#tiptip_content table th, td').eq(1).css('width','100px');
  </code></pre>
  
  <p>My dynamic HTML code is </p>
  
  <pre><code>&lt;div style="display: none; margin: 624px 0px 0px 494px;" id="tiptip_holder" class="tip_top"&gt;
  &lt;div id="tiptip_arrow" style="margin-left: 313px; margin-top: 71px;"&gt;
      &lt;div id="tiptip_arrow_inner"&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  &lt;div id="tiptip_content"&gt;
      &lt;div style="width: 100%; height: 25px; overflow: hidden; position: relative;" class="xhdr"&gt;
          &lt;img style="display: none; position: absolute;" src="https://www.lifemark.ca/contents/dhx/grid/imgs/sort_desc.gif"&gt;
          &lt;table cellspacing="0" cellpadding="0" style="width: 100%; table-layout: fixed; margin-right: 20px; padding-right: 20px;" class="hdr"&gt;
              &lt;tbody&gt;
                  &lt;tr style="height: auto;"&gt;
                      &lt;th style="height: 0px;"&gt;
                      &lt;/th&gt;
                      &lt;th style="height: 0px;"&gt;
                      &lt;/th&gt;
                      &lt;th style="height: 0px;"&gt;
                      &lt;/th&gt;
                      &lt;th style="height: 0px;"&gt;
                      &lt;/th&gt;
                      &lt;th style="height: 0px;"&gt;
                      &lt;/th&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td style="color: black; font-size: 9px; vertical-align: top; font-weight: bold;"&gt;
                          &lt;div class="hdrcell"&gt;
                              Ax Name
                          &lt;/div&gt;
                      &lt;/td&gt;
                      &lt;td style="color: black; font-size: 9px; vertical-align: top; font-weight: bold;"&gt;
                          &lt;div class="hdrcell"&gt;
                              Claimant
                          &lt;/div&gt;
                      &lt;/td&gt;
                      &lt;td style="color: black; font-size: 9px; vertical-align: top; font-weight: bold;"&gt;
                          &lt;div class="hdrcell"&gt;
                              Status
                          &lt;/div&gt;
                      &lt;/td&gt;
                      &lt;td style="color: black; font-size: 9px; vertical-align: top; font-weight: bold;"&gt;
                          &lt;div class="hdrcell"&gt;
                              Coordination Times
                          &lt;/div&gt;
                      &lt;/td&gt;
                      &lt;td style="color: black; font-size: 9px; vertical-align: top; font-weight: bold;"&gt;
                          &lt;div class="hdrcell"&gt;
                              Ax Address
                          &lt;/div&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
              &lt;/tbody&gt;
          &lt;/table&gt;
      &lt;/div&gt;
      &lt;div style="width: 100%; overflow-x: auto; overflow-y: hidden;" class="objbox"&gt;
          &lt;table cellspacing="0" cellpadding="0" style="width: 100%; table-layout: fixed;" class="obj"&gt;
              &lt;tbody&gt;
                  &lt;tr style="height: auto;"&gt;
                      &lt;th style="height: 0px;"&gt;
                      &lt;/th&gt;
                      &lt;th style="height: 0px;"&gt;
                      &lt;/th&gt;
                      &lt;th style="height: 0px;"&gt;
                      &lt;/th&gt;
                      &lt;th style="height: 0px;"&gt;
                      &lt;/th&gt;
                      &lt;th style="height: 0px;"&gt;
                      &lt;/th&gt;
                  &lt;/tr&gt;
                  &lt;tr class=" ev_dhx_skyblue"&gt;
                      &lt;td valign="middle" align="left"&gt;
                          Chiropractic Assessment
                      &lt;/td&gt;
                      &lt;td valign="middle" align="left"&gt;
                          Test David
                      &lt;/td&gt;
                      &lt;td valign="middle" align="left"&gt;
                          Booked
                      &lt;/td&gt;
                      &lt;td valign="middle" align="left"&gt;
                          07:30 PM - 08:30 PM;08:30 PM - 09:30 PM;09:30 PM - 10:30 PM
                      &lt;/td&gt;
                      &lt;td valign="middle" align="left"&gt;
                          2 Wellington Street West, Brampton, Ontario, L6Y 4R2
                      &lt;/td&gt;
                  &lt;/tr&gt;
              &lt;/tbody&gt;
          &lt;/table&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></p>