How to select the elements into multiple elements

19 views
Skip to first unread message

Sarfraz Ahmad

unread,
Aug 21, 2013, 4:29:11 PM8/21/13
to jquery-...@googlegroups.com
Hello guys...
    I am working on a Quiz app where i have a bunch questions and a bunch of options for each question. for user input i have a bunch of  of radio buttons, check boxes and text input fields related to each question. means a question can have 4 radio buttons for single choice question, 4 check boxes for multiple choice questions and text fields if user has to write the answer.Each of these check box, radio button or input element has two attributes question_id and answer_id. My problem is that i when a user click on the submit button i want to get the attribute of the fields the user selected so that i get to know the question id and answer id of the answer the user selected. Guys help me and tell me how can i do it using jQuery or javaScript
Reply all
Reply to author
Forward
0 new messages