Note that there are some explanatory texts on larger screens.

plurals
  1. POChange DIV content one after another on button click if the radio button inside that DIV is checked
    primarykey
    data
    text
    <p>Please help me on this, I am in the middle and can't proceed further as my code is inefficient and not getting idea...<br> I have a array of codes as given below.. </p> <pre><code> var codes=[["header1","&lt;input type='radio'&gt;","option2","option3"],["header2","&lt;input type='radio'&gt;","option5","option6"],["header3","&lt;input type='radio'&gt;","option8","option9"]]; </code></pre> <p>Else please check this fiddle to check my progress...<br> <a href="http://jsfiddle.net/FgVGR/1/" rel="nofollow">http://jsfiddle.net/FgVGR/1/</a> <br> In my HTML i will have 3 DIV tags</p> <pre><code> DIV(class name="headerHolder") -- This is to hold header text from the array. DIV(class name="optionHolder") -- This contains the options related to each header displayed(Options will be next to the header element[index 0]). DIV Options contains options and radio button. DIV(class name="navigation") with next button with ID "next" and back button with id "back". </code></pre> <p>Basically the DIV will be displayed with the first array elements, i.e Header1 in headerHolder and radio button, option2 and Option 3 in optionHolder DIV.If radio button is clicked and clicked next button the next array element i.e starting with header2 will be displayed in headerHolder and optionHolder. Checking radio button is qualification to move to the next array. If back button is clicked previous array items to the current array should be displayed with the previous given radio button response...Options in optionHolder should be displayed in two columns. Currently i am using tag but unable to display..<br> Please help me on this...This is what i am trying to do....</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload