lundi 12 janvier 2015

Enable a textfield on click of checkbox in angularjs

I am very new to angularjs, i will brief you out what i should achieve




  1. there are three items in a web page, (i) Checkbox (ii) Textbox 1 (iii) Textbox 2




  2. Textbox 1 is always read only with some text in it




  3. on clicking the checkbox, textbox 2 should be editable which is intially readonly and has the text same as that in textbox 1




I have to do it in angularjs


please help





Aucun commentaire:

Enregistrer un commentaire