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
精彩评论