Please tell me how to integrate javascript in ruby code(in rhtml page)
<% javascript_tag do -%>
# javascript codes
<% end -%>
hope this can help you
On Fri, Feb 20, 2009 at 1:53 PM, Nisha Thoprath <
[email protected]> wrote:
Please tell me how to integrate javascript in ruby code(in rhtml page)
Posted via http://www.ruby-forum.com/.
–
My home: http://flyerhzm.spaces.live.com
Can you tell me how to give name for form_for tag, so that javascript
manipulation can be done on it
huang zhimin wrote:
<% javascript_tag do -%>
# javascript codes
<% end -%>hope this can help you
On Fri, Feb 20, 2009 at 1:53 PM, Nisha Thoprath <
[email protected]> wrote:Please tell me how to integrate javascript in ruby code(in rhtml page)
Posted via http://www.ruby-forum.com/.
–
My home: http://flyerhzm.spaces.live.com
<% form_for :person, @person, :html => {:id => ‘person_form’} do |f| %>
…
<% end %>
On Fri, Feb 20, 2009 at 2:41 PM, Nisha Thoprath <
[email protected]> wrote:
–
My home: http://flyerhzm.spaces.live.com