JQuery if checkbox is checked?

1 FYI in Chrome, FF, and IE9, this would be faster: if ($('. Checkbox_check'). Is(':checked')) { since it makes use of getElementsByClassName() – AlienWebguy Oct 31 at 21:56 Thanks man, thats spot on, any idea how to target only the checkbox of that row ie: if ($(this).

Parents('input. Checkbox_check'). Is(':checked')) { – Clinton Green Oct 31 at 22:06 You want $(this).

Closest('tr'). Find('. Checkbox_check') – SLaks Oct 31 at 22:14 Thanks so much, cheers :) – Clinton Green Oct 31 at 22:15.

The best way to check is something is cheked or not, is add a class when is check and then you use hasClass. Example: if($('checkbox'). HasClass('active')){ } Try it =.

3 The best way is not this way. – AlienWebguy Oct 31 at 21:57 Yeah, you are write. I expressed wrong.

– Felipe Pelá Oct 31 at 22:01.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions