$(document).ready(function() { var scriptarray = []; $('#mytable tr').each(function() { var tdscriptvalue =$(this).find("scrip").data; scriptarray.push(tdscriptvalue); }); });
<table id="mytable" width="100%" bgcolor="#ffffff" border="0" cellspacing="0" cellpadding="0" id="sort" class="sorting"> <thead> <tr class="orgbg1" align="center"> <th class="unsort"><span></span></th> <th class="unsort">B/S<span></span></th> <th>ScripCode<span> <i class="upPng"></i></span></th> <th>LTP<span> <i class="upDownPng"></i></span></th> <th>Diff.<span> <i class="upDownPng"></i></span></th> <th>%Chg.<span> <i class="upDownPng"></i></span></th> <th>TIME<span> <i class="upDownPng"></i></span></th> <th>Open<span> <i class="upDownPng"></i></span></th> <th>High<span> <i class="upDownPng"></i></span></th> <th>Low<span> <i class="upDownPng"></i></span></th> <th>P.Cl<span> <i class="upDownPng"></i></span></th> <th>Wt.Avg<span> <i class="upDownPng"></i></span></th> <th>TTQ<span> <i class="upDownPng"></i></span></th> <th>TTV<span> <i class="upDownPng"></i></span></th> </tr> </thead> <tbody> <tr align="right" class="" id="heat3"> <td><input type="checkbox" rel="3&scrip3=ADVANTA&exchangecode3=NSE&token3=14542" value="3&scrip3=ADVANTA&exchangecode3=NSE&token3=14542" name="subs3" id="subs3"></td> <td class="font2" align="left" nowrap=""><a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=14542&exchangecode=NSE&scrip=ADVANTA&buysell=B">B</a> / <a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=14542&exchangecode=NSE&scrip=ADVANTA&buysell=S">S</a></td> <td nowrap="nowrap" class="font2" align="left"><a href="#" onclick="javascript:getQuote('ADVANTA')"> ADVANTA</a></td> <td nowrap="nowrap" class="chColorGreen" id="ltp3">398.60</td> <td nowrap="nowrap" class="" id="dif3">4.15</td> <td nowrap="nowrap" class="" id="chg3">1.05%</td> <td nowrap="nowrap" id="dat3" class="chColor">14:30:26</td> <td align="right" id="Open3" class="">395.00</td> <td align="right" id="High3" class="">399.70</td> <td align="right" id="Low3" class="">372.00</td> <td align="right" id="P.Cl3" class="">394.45</td> <td align="right" id="Wt.Avg3" class="">390.98</td> <td align="right" id="TTQ3" class="">33726</td> <td align="right" id="TTV3" class="">131.86</td> </tr> <tr align="right" class="orgbg" id="heat12"> <td><input type="checkbox" rel="12&scrip12=AGRITECH&exchangecode12=NSE&token12=11076" value="12&scrip12=AGRITECH&exchangecode12=NSE&token12=11076" name="subs12" id="subs12"></td> <td class="font2" align="left" nowrap=""><a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=11076&exchangecode=NSE&scrip=AGRITECH&buysell=B">B</a> / <a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=11076&exchangecode=NSE&scrip=AGRITECH&buysell=S">S</a></td> <td nowrap="nowrap" class="font2" align="left"><a href="#" onclick="javascript:getQuote('AGRITECH')"> AGRITECH</a></td> <td nowrap="nowrap" class="" id="ltp12">10.65</td> <td nowrap="nowrap" class="" id="dif12">0.50</td> <td nowrap="nowrap" class="" id="chg12">4.93%</td> <td nowrap="nowrap" id="dat12" class="">14:26:42</td> <td align="right" id="Open12" class="">10.65</td> <td align="right" id="High12" class="">10.65</td> <td align="right" id="Low12" class="">10.65</td> <td align="right" id="P.Cl12" class="">10.15</td> <td align="right" id="Wt.Avg12" class="">10.65</td> <td align="right" id="TTQ12" class="">585</td> <td align="right" id="TTV12" class="">0.06</td> </tr> <tr align="right" class="" id="heat0"> <td><input type="checkbox" rel="0&scrip0=AVANTIFEED&exchangecode0=NSE&token0=7936" value="0&scrip0=AVANTIFEED&exchangecode0=NSE&token0=7936" name="subs0" id="subs0"></td> <td class="font2" align="left" nowrap=""><a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=7936&exchangecode=NSE&scrip=AVANTIFEED&buysell=B">B</a> / <a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=7936&exchangecode=NSE&scrip=AVANTIFEED&buysell=S">S</a></td> <td nowrap="nowrap" class="font2" align="left"><a href="#" onclick="javascript:getQuote('AVANTIFEED')"> AVANTIFEED</a></td> <td nowrap="nowrap" class="" id="ltp0">349.90</td> <td nowrap="nowrap" class="" id="dif0">-34.60</td> <td nowrap="nowrap" class="" id="chg0">-9.00%</td> <td nowrap="nowrap" id="dat0" class="">14:30:23</td> <td align="right" id="Open0" class="">377.00</td> <td align="right" id="High0" class="">379.55</td> <td align="right" id="Low0" class="">348.10</td> <td align="right" id="P.Cl0" class="">384.50</td> <td align="right" id="Wt.Avg0" class="">359.56</td> <td align="right" id="TTQ0" class="">44665</td> <td align="right" id="TTV0" class="">160.60</td> </tr> <tr align="right" class="orgbg" id="heat11"> <td><input type="checkbox" rel="11&scrip11=DAAWAT&exchangecode11=NSE&token11=13816" value="11&scrip11=DAAWAT&exchangecode11=NSE&token11=13816" name="subs11" id="subs11"></td> <td class="font2" align="left" nowrap=""><a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=13816&exchangecode=NSE&scrip=DAAWAT&buysell=B">B</a> / <a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=13816&exchangecode=NSE&scrip=DAAWAT&buysell=S">S</a></td> <td nowrap="nowrap" class="font2" align="left"><a href="#" onclick="javascript:getQuote('DAAWAT')"> DAAWAT</a></td> <td nowrap="nowrap" class="chColorGreen" id="ltp11">228.75</td> <td nowrap="nowrap" class="" id="dif11">-7.70</td> <td nowrap="nowrap" class="" id="chg11">-3.26%</td> <td nowrap="nowrap" id="dat11" class="">14:30:24</td> <td align="right" id="Open11" class="">231.00</td> <td align="right" id="High11" class="">248.00</td> <td align="right" id="Low11" class="">215.20</td> <td align="right" id="P.Cl11" class="">236.45</td> <td align="right" id="Wt.Avg11" class="">227.83</td> <td align="right" id="TTQ11" class="">18001</td> <td align="right" id="TTV11" class="">41.01</td> </tr> <tr align="right" class="" id="heat6"> <td><input type="checkbox" rel="6&scrip6=JISLJALEQS&exchangecode6=NSE&token6=10397" value="6&scrip6=JISLJALEQS&exchangecode6=NSE&token6=10397" name="subs6" id="subs6"></td> <td class="font2" align="left" nowrap=""><a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=10397&exchangecode=NSE&scrip=JISLJALEQS&buysell=B">B</a> / <a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=10397&exchangecode=NSE&scrip=JISLJALEQS&buysell=S">S</a></td> <td nowrap="nowrap" class="font2" align="left"><a href="#" onclick="javascript:getQuote('JISLJALEQS')"> JISLJALEQS</a></td> <td nowrap="nowrap" class="" id="ltp6">59.55</td> <td nowrap="nowrap" class="" id="dif6">-1.95</td> <td nowrap="nowrap" class="" id="chg6">-3.17%</td> <td nowrap="nowrap" id="dat6" class="chColor">14:30:25</td> <td align="right" id="Open6" class="">61.25</td> <td align="right" id="High6" class="">61.85</td> <td align="right" id="Low6" class="">56.65</td> <td align="right" id="P.Cl6" class="">61.50</td> <td align="right" id="Wt.Avg6" class="">58.83</td> <td align="right" id="TTQ6" class="">2853984</td> <td align="right" id="TTV6" class="">1679.00</td> </tr> <tr align="right" class="orgbg" id="heat9"> <td><input type="checkbox" rel="9&scrip9=KOHINOOR&exchangecode9=NSE&token9=3009" value="9&scrip9=KOHINOOR&exchangecode9=NSE&token9=3009" name="subs9" id="subs9"></td> <td class="font2" align="left" nowrap=""><a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=3009&exchangecode=NSE&scrip=KOHINOOR&buysell=B">B</a> / <a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=3009&exchangecode=NSE&scrip=KOHINOOR&buysell=S">S</a></td> <td nowrap="nowrap" class="font2" align="left"><a href="#" onclick="javascript:getQuote('KOHINOOR')"> KOHINOOR</a></td> <td nowrap="nowrap" class="" id="ltp9">47.30</td> <td nowrap="nowrap" class="" id="dif9">1.10</td> <td nowrap="nowrap" class="" id="chg9">2.38%</td> <td nowrap="nowrap" id="dat9" class="">14:30:11</td> <td align="right" id="Open9" class="">49.00</td> <td align="right" id="High9" class="">51.65</td> <td align="right" id="Low9" class="">46.65</td> <td align="right" id="P.Cl9" class="">46.20</td> <td align="right" id="Wt.Avg9" class="">49.06</td> <td align="right" id="TTQ9" class="">122560</td> <td align="right" id="TTV9" class="">60.13</td> </tr> <tr align="right" class="" id="heat10"> <td><input type="checkbox" rel="10&scrip10=KRBL&exchangecode10=NSE&token10=10577" value="10&scrip10=KRBL&exchangecode10=NSE&token10=10577" name="subs10" id="subs10"></td> <td class="font2" align="left" nowrap=""><a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=10577&exchangecode=NSE&scrip=KRBL&buysell=B">B</a> / <a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=10577&exchangecode=NSE&scrip=KRBL&buysell=S">S</a></td> <td nowrap="nowrap" class="font2" align="left"><a href="#" onclick="javascript:getQuote('KRBL')"> KRBL</a></td> <td nowrap="nowrap" class="" id="ltp10">225.50</td> <td nowrap="nowrap" class="" id="dif10">-1.25</td> <td nowrap="nowrap" class="" id="chg10">-0.55%</td> <td nowrap="nowrap" id="dat10" class="">14:30:23</td> <td align="right" id="Open10" class="">226.30</td> <td align="right" id="High10" class="">232.80</td> <td align="right" id="Low10" class="">221.00</td> <td align="right" id="P.Cl10" class="">226.75</td> <td align="right" id="Wt.Avg10" class="">225.22</td> <td align="right" id="TTQ10" class="">207687</td> <td align="right" id="TTV10" class="">467.75</td> </tr> <tr align="right" class="orgbg" id="heat7"> <td><input type="checkbox" rel="7&scrip7=KSCL&exchangecode7=NSE&token7=14972" value="7&scrip7=KSCL&exchangecode7=NSE&token7=14972" name="subs7" id="subs7"></td> <td class="font2" align="left" nowrap=""><a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=14972&exchangecode=NSE&scrip=KSCL&buysell=B">B</a> / <a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=14972&exchangecode=NSE&scrip=KSCL&buysell=S">S</a></td> <td nowrap="nowrap" class="font2" align="left"><a href="#" onclick="javascript:getQuote('KSCL')"> KSCL</a></td> <td nowrap="nowrap" class="chColorRed" id="ltp7">322.30</td> <td nowrap="nowrap" class="" id="dif7">-2.15</td> <td nowrap="nowrap" class="" id="chg7">-0.66%</td> <td nowrap="nowrap" id="dat7" class="">14:30:23</td> <td align="right" id="Open7" class="">325.00</td> <td align="right" id="High7" class="">329.70</td> <td align="right" id="Low7" class="">300.00</td> <td align="right" id="P.Cl7" class="">324.45</td> <td align="right" id="Wt.Avg7" class="">317.46</td> <td align="right" id="TTQ7" class="">566631</td> <td align="right" id="TTV7" class="">1798.83</td> </tr> <tr align="right" class="" id="heat8"> <td><input type="checkbox" rel="8&scrip8=LAKSHMIEFL&exchangecode8=NSE&token8=14179" value="8&scrip8=LAKSHMIEFL&exchangecode8=NSE&token8=14179" name="subs8" id="subs8"></td> <td class="font2" align="left" nowrap=""><a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=14179&exchangecode=NSE&scrip=LAKSHMIEFL&buysell=B">B</a> / <a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=14179&exchangecode=NSE&scrip=LAKSHMIEFL&buysell=S">S</a></td> <td nowrap="nowrap" class="font2" align="left"><a href="#" onclick="javascript:getQuote('LAKSHMIEFL')"> LAKSHMIEFL</a></td> <td nowrap="nowrap" class="" id="ltp8">15.60</td> <td nowrap="nowrap" class="" id="dif8">-1.55</td> <td nowrap="nowrap" class="" id="chg8">-9.04%</td> <td nowrap="nowrap" id="dat8" class="">14:29:58</td> <td align="right" id="Open8" class="">17.05</td> <td align="right" id="High8" class="">17.05</td> <td align="right" id="Low8" class="">14.75</td> <td align="right" id="P.Cl8" class="">17.15</td> <td align="right" id="Wt.Avg8" class="">15.79</td> <td align="right" id="TTQ8" class="">179212</td> <td align="right" id="TTV8" class="">28.30</td> </tr> <tr align="right" class="orgbg" id="heat5"> <td><input type="checkbox" rel="5&scrip5=NATHBIOGEN&exchangecode5=NSE&token5=11065" value="5&scrip5=NATHBIOGEN&exchangecode5=NSE&token5=11065" name="subs5" id="subs5"></td> <td class="font2" align="left" nowrap=""><a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=11065&exchangecode=NSE&scrip=NATHBIOGEN&buysell=B">B</a> / <a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=11065&exchangecode=NSE&scrip=NATHBIOGEN&buysell=S">S</a></td> <td nowrap="nowrap" class="font2" align="left"><a href="#" onclick="javascript:getQuote('NATHBIOGEN')"> NATHBIOGEN</a></td> <td nowrap="nowrap" class="" id="ltp5">80.00</td> <td nowrap="nowrap" class="" id="dif5">-5.20</td> <td nowrap="nowrap" class="" id="chg5">-6.10%</td> <td nowrap="nowrap" id="dat5" class="">14:28:27</td> <td align="right" id="Open5" class="">82.20</td> <td align="right" id="High5" class="">87.00</td> <td align="right" id="Low5" class="">77.45</td> <td align="right" id="P.Cl5" class="">85.20</td> <td align="right" id="Wt.Avg5" class="">81.20</td> <td align="right" id="TTQ5" class="">35745</td> <td align="right" id="TTV5" class="">29.02</td> </tr> <tr align="right" class="" id="heat4"> <td><input type="checkbox" rel="4&scrip4=POCHIRAJU&exchangecode4=NSE&token4=14213" value="4&scrip4=POCHIRAJU&exchangecode4=NSE&token4=14213" name="subs4" id="subs4"></td> <td class="font2" align="left" nowrap=""><a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=14213&exchangecode=NSE&scrip=POCHIRAJU&buysell=B">B</a> / <a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=14213&exchangecode=NSE&scrip=POCHIRAJU&buysell=S">S</a></td> <td nowrap="nowrap" class="font2" align="left"><a href="#" onclick="javascript:getQuote('POCHIRAJU')"> POCHIRAJU</a></td> <td nowrap="nowrap" class="" id="ltp4">12.40</td> <td nowrap="nowrap" class="" id="dif4">-0.80</td> <td nowrap="nowrap" class="" id="chg4">-6.06%</td> <td nowrap="nowrap" id="dat4" class="">14:29:47</td> <td align="right" id="Open4" class="">13.20</td> <td align="right" id="High4" class="">13.20</td> <td align="right" id="Low4" class="">12.25</td> <td align="right" id="P.Cl4" class="">13.20</td> <td align="right" id="Wt.Avg4" class="">12.63</td> <td align="right" id="TTQ4" class="">41751</td> <td align="right" id="TTV4" class="">5.27</td> </tr> <tr align="right" class="orgbg" id="heat2"> <td><input type="checkbox" rel="2&scrip2=TECHIN&exchangecode2=NSE&token2=25190" value="2&scrip2=TECHIN&exchangecode2=NSE&token2=25190" name="subs2" id="subs2"></td> <td class="font2" align="left" nowrap=""><a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=25190&exchangecode=NSE&scrip=TECHIN&buysell=B">B</a> / <a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=25190&exchangecode=NSE&scrip=TECHIN&buysell=S">S</a></td> <td nowrap="nowrap" class="font2" align="left"><a href="#" onclick="javascript:getQuote('TECHIN')"> TECHIN</a></td> <td nowrap="nowrap" class="" id="ltp2">4.70</td> <td nowrap="nowrap" class="" id="dif2">-0.40</td> <td nowrap="nowrap" class="" id="chg2">-7.84%</td> <td nowrap="nowrap" id="dat2" class="">14:19:12</td> <td align="right" id="Open2" class="">0.00</td> <td align="right" id="High2" class="">5.00</td> <td align="right" id="Low2" class="">4.70</td> <td align="right" id="P.Cl2" class="">5.10</td> <td align="right" id="Wt.Avg2" class="">4.96</td> <td align="right" id="TTQ2" class="">2900</td> <td align="right" id="TTV2" class="">0.14</td> </tr> <tr align="right" class="" id="heat1"> <td><input type="checkbox" rel="1&scrip1=VENKEYS&exchangecode1=NSE&token1=3757" value="1&scrip1=VENKEYS&exchangecode1=NSE&token1=3757" name="subs1" id="subs1"></td> <td class="font2" align="left" nowrap=""><a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=3757&exchangecode=NSE&scrip=VENKEYS&buysell=B">B</a> / <a href="https://newtrade.sharekhan.com/rmmweb/ocs.sk?execute=neworder&token=3757&exchangecode=NSE&scrip=VENKEYS&buysell=S">S</a></td> <td nowrap="nowrap" class="font2" align="left"><a href="#" onclick="javascript:getQuote('VENKEYS')"> VENKEYS</a></td> <td nowrap="nowrap" class="chColorRed" id="ltp1">286.00</td> <td nowrap="nowrap" class="chColor" id="dif1">-10.70</td> <td nowrap="nowrap" class="chColor" id="chg1">-3.61%</td> <td nowrap="nowrap" id="dat1" class="chColor">14:30:27</td> <td align="right" id="Open1" class="">308.00</td> <td align="right" id="High1" class="">308.00</td> <td align="right" id="Low1" class="">280.85</td> <td align="right" id="P.Cl1" class="">296.70</td> <td align="right" id="Wt.Avg1" class="chColor">285.61</td> <td align="right" id="TTQ1" class="chColor">4696</td> <td align="right" id="TTV1" class="chColor">13.41</td> </tr> </tbody> </table>
body { padding: 5px; } label { font-weight: bold; } input[type=text] { width: 20em } p { margin: 1em 0 0; }