开发者

How to Navigate through the table inside a fieldset

There will be a Table inside a Fieldset, I am using below code to access that table. But it is not working.

 $('Fieldset_A TABLE TBODY TR').each(function()
  {
     .......
  }

My HTML Code is like this

 <div class="gridanswers"><fieldset id="Fieldset_A">
 <table class="yyyy">.............</table>

Please someo开发者_开发百科ne help me.


assuming fieldset_A is an id you need to identify it as such like so

 $('#Fieldset_A TABLE TBODY TR').each(function()....

if it is a class then

$('.Fieldset_A TABLE TBODY TR').each(function()

Working Demo

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜