samedi 5 septembre 2015

How to create textbox onchange of checkbox in jquery?

I have three check-boxes with one label. three checkboxes are like this

<label class="col-md-2 control-label" for="Checkboxes">Grains</label>               
<div class="col-md-10 columns">                    
  <label class="checkbox-inline" for="Checkboxes_Apple"><input type="checkbox" name="Checkboxes" id="Checkboxes_Apple" value="Apple">Jawora</label>             
  <label class="checkbox-inline" for="Checkboxes_Orange"><input type="checkbox" name="Checkboxes" id="Checkboxes_Orange" value="Orange">Bajara</label>      
  <label class="checkbox-inline" for="Checkboxes_Bananas"><input type="checkbox" name="Checkboxes" id="Checkboxes_other" value="other">other</label> 
</div>

when i select other or last checkbox then i want generate one textbox for filling other product name.

So please help me

Aucun commentaire:

Enregistrer un commentaire