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
<input type ="text" name="text1" id="text1"> <input type ="text" name="text2" id="text2">... How can i achieve this?Please help.Its
<%= javascript_include_tag "prototype" %>
<div class="element_links">
<% for char in 'A'..'Z' %>
<%= link_to_remote( "#{char}",
:update => "content",
:char => char,
:url =>{:action => :alp_search }) %> </li>
Leave a comment: