Forum: Ruby on Rails Java: How to interact with ruby generated fields

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Michael H. (Guest)
on 2006-04-06 19:14
Hello community,

I'm new to rubyonrails and to this Forum. I have to call 2 Fields,
generated by ruby, from a javafunction (onSubmit) but when I use this
example it didn't work, why?

<%= start_form_tag({:action=> "show"}, { :onSubmit
}) %>


<%= hiddenfield_field "post", "textfieldone", :size => 20%>
<%= text_field "post", "textfieldtwo", :size => 20%>
<%= text_field "post", "textfieldthree", :size => 20%>


<input type="submit" value="Sign In &#187;" class="primary" />
<%= end_form_tag %>

The Javascriptfunction couldn't get the values of textfieldtwo and

Thanks for your help
Michael Herzog
Charles O Nutter (Guest)
on 2006-04-06 19:18
(Received via mailing list)
OT: Please don't call JavaScript "Java" :)
Michael H. (Guest)
on 2006-04-06 19:24
Charles O Nutter wrote:
> OT: Please don't call JavaScript "Java" :)

Sorry, my mistake! :(
This topic is locked and can not be replied to.