Talbe value finishing (for personal use)

Source: Internet
Author: User
<! DOCTYPE html>
<script type= "Text/javascript" src= "Http://cdn.hcharts.cn/jquery/jquery-1.8.3.min.js" ></script>


<meta charset= "UTF-8" >
<title></title>
<body>
<div class= "Col-md col-sm divdata" >
<input value= "2"/>
<table class= "Table_data convert_width Tblaa" >
<tbody>
<tr>
<th> Selection Information </th>
<th> Initial formula version </th>
<th> Raw Tobacco input (bear) </th>
<th> output Smoke (bear) </th>
Ratio of <th> to initial formula </th>
<th> China Line Moisture avg</th>
<th> China Line Temperature avg</th>
<th> China Line Temperature avg</th>
<th> China Line Moisture avg</th>
<th> avg</th> of leaf selection rate
</tr>
<tr>
&LT;TD class= "AA" >1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
<td>6</td>
<td>7</td>
<td>8</td>
<td>9</td>
<td>10</td>
</tr>
<tr>
<td>1866367</td>
<td>1866367</td>
<td>1866367</td>
<td>1453</td>
<td>1453</td>
<td>1453</td>
<td>1453</td>
<td>1453</td>
<td>1453</td>
<td>1453</td>
</tr>
<tr>
<td>596597</td>
<td>596597</td>
<td>596597</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>

<td>0</td>
<td>0</td>
</tr>
<tr>
<td>746162</td>
<td>746162</td>
<td>746162</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>


<div class= "Col-md col-sm divdata" >
<input value= "1"/>
<table class= "Table_data convert_width Tblaa" >
<tbody>
<tr>
<th> Selection Information </th>
<th> Initial formula version </th>
<th> Raw Tobacco input (bear) </th>
<th> output Smoke (bear) </th>
Ratio of <th> to initial formula </th>
<th> China Line Moisture avg</th>
<th> China Line Temperature avg</th>
<th> China Line Temperature avg</th>
<th> China Line Moisture avg</th>
<th> avg</th> of leaf selection rate
</tr>
<tr>
&LT;TD class= "AA" >1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
<td>6</td>
<td>7</td>
<td>8</td>
<td>9</td>
<td>10</td>
</tr>
<tr>
<td>1866367</td>
<td>1866367</td>
<td>1866367</td>
<td>1453</td>
<td>1453</td>
<td>1453</td>
<td>1453</td>
<td>1453</td>
<td>1453</td>
<td>1453</td>
</tr>
<tr>
<td>596597</td>
<td>596597</td>
<td>596597</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>

<td>0</td>
<td>0</td>
</tr>
<tr>
<td>746162</td>
<td>746162</td>
<td>746162</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>


</body>


<script type= "Text/javascript" >//Cell Events for multiple tables
         $ (". Tblaa TD"). Click (funct Ion () {
         //columns
        var tdseq = $ (this). The parent (). Find ("TD") . Index ($ (this));
       //Line
        var trseq = $ (this). Parent (). Parent (). Find ("tr"). Index ($ (this). parent ());
        Console.log (trseq+ "= = =" +tdseq);
       var  tr= $ (this). Closest ("tr");//Get the selected line
       var Feedinday Batchs=tr.find (". AA"). html (); Based on class value
       var VA = $ (this). Parent (). Parent (). Find ("TR:GT (0): eq (0) td:eq (" +tdseq+ ")"). Text ();
        alert ("va==" +  va);
   });  
</script>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.