Forum Moderators: open

Message Too Old, No Replies

problem with input (jquery)

         

sneaks

2:22 am on Dec 19, 2008 (gmt 0)

10+ Year Member



i am trying to build a small quiz module... when user click a link, function checks to see if a list has class correct contains the checked radio... problem is in a group of 4 radios, all are true... even though one is checked...
heres the code:

[paste.pocoo.org...]

sneaks

3:01 am on Dec 19, 2008 (gmt 0)

10+ Year Member



i try this:
[paste.pocoo.org...]

but instead of all the radios being true now they are all false...

thanks!
j

ashish21cool

4:28 am on Dec 22, 2008 (gmt 0)

10+ Year Member



Hi,

If I am not wrong, you are looking for something like this,

When a user clicks link, you wanna chk which radio button is clicked rite?

I look forward to hearing from you.

Thanks.

ashish21cool

4:55 am on Dec 22, 2008 (gmt 0)

10+ Year Member



Hi Sneaks,

I tried to work on you code but its throwing error on $(document) reday.

So I tried to remove the style which u have applied to div #quiz.
Then I was able to see the radio buttons.

Now you tell me where have u got urself stuck.

I look forward to hearing from you.

Thanks.