I want to hide and show the inputbox based on checkbox status. In my case both are appended by the jquery as follows:
$container.append('<li><label><input type="checkbox" style="float:left"</label>
<input type="text" name="couple_answers['+index+']" id="couple_answers_'+index+'" maxlength="500" class="input-item form-control text-field"></li>');
Please suggest me any possibilities.
Aucun commentaire:
Enregistrer un commentaire