Displaying 2 results from an estimated 2 matches for "customer_form".
2006 Apr 01
0
A missing piece in Prototype helpers
Hi,
I wanted to use select helper to provide a parameter for a function call
and could not make it work.
I wanted to do this:
page.call ''Field.activate'', page.select(''#customer_form .edit-form
div.fieldWithErrors input'').first
and ended up writing pure Javascript:
page << ''Field.activate($$("#customer_form .edit-form
div.fieldWithErrors input").first());''
If someone can figure out the way to get it to work without << oper...
2006 Apr 25
0
How to manage one to many within application.
...% @page_title = "New Customer"%>
<center><%= link_to ''Back'', :action => ''customer_list'' %></center>
<br>
<%= start_form_tag :action => ''customer_create'' %>
<%= render :partial => ''customer_form'' %>
<div id="mydiv">
</div>
<%= link_to_remote ("Add Address",
:complete => "new
Effect.Highlight(''mydiv'')",
:update => &qu...