The problem is, i have to add the controls dynamically in html/ruby html which should take the unique id for each controls.
Eg: If i click on add button say,control should create the code as follows..
Thanks
Eg: If i click on add button say,control should create the code as follows..
Code:
<input type ="text" name="text1" id="text1"> <input type ="text" name="text2" id="text2">... How can i achieve this?Please help.Its urgent
Comment