javascript radio button example

 

 

 

 

Is there a particular reason you want to create radio buttons with JavaScript? It is far easier to use the HTML form tag- But to simplfy this example I have the questions inline here showing how to structure the external file. var questions [ questionId:"question1", formName:"form1",radioName