Link to home
Start Free TrialLog in
Avatar of newbie27
newbie27Flag for United Kingdom of Great Britain and Northern Ireland

asked on

how to avoid ticking the hidden checkboxes

Hello Experts,
I am having 2 Flexigrid plugins on the page, when I show the second I am hiding the first.
The problem is when I click on checkAll function, every record available in both these grids are been getting posted.
Please can I not check in the attached function if they are hidden?  If so how? please help
Regards
S
function checkAll(chkd)
{
$(".chkRefNos").each(function(){
                this.checked = chkd;
            });
}

Open in new window

SOLUTION
Avatar of dosth
dosth
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of hielo
hielo
Flag of Wallis and Futuna image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of newbie27

ASKER

thanks hielo
thanks