Hello guys, first things first excuse me for my bad english.
So here's my story:
I want to get through 8 Checkboxes, to proof if they are checked or not. In case one of them is checked, i get the name, or better the ID of it, to activate the <div> it belongs to.
And heres the for-Loop, which im using to get through the checkboxes:
for (i = 0; i < 8; i++) { if ($(".checkbox").get(i).is(":checked")) { $('#' + $($(".checkbox").get(i)).attr('name')).show(); } else { $('#' + $($(".checkbox").get(i)).attr('name')).hide alert($(".checkbox").get(i)); } }
The problem is, that i cant use .is after I used get(i). But just why? After I used get(), its an object, but it seems like it isn't. Is this actually a bug or somethin? I got Jquery a few months ago, maybe it's fixed yet. Or is it just me doing something wrong? Please help me.