jeudi 4 février 2016

Validation for dynamic radio button,checkbox and text area

I have developed one page,which is contains several questions and answer...there are three types of answer radio button,checkbox and text area... i have to validate these dynamically created questions using javascript...

based on the question type i am getting answer options from database whether it may be a radio button or checkbox or text area...

<input type="radio" id="radio" name="21" value="59"/>
<input type="radio" id="radio" name="22" value="60"/>
<input type="radio" id="radio" name="23" value="61"/>

like same as checkbox and text area....




Aucun commentaire:

Enregistrer un commentaire