Javascript


#1

Please tell me how to integrate javascript in ruby code(in rhtml page)


#2

<% javascript_tag do -%>
# javascript codes
<% end -%>

hope this can help you

On Fri, Feb 20, 2009 at 1:53 PM, Nisha Thoprath <
removed_email_address@domain.invalid> 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


#3

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 <
removed_email_address@domain.invalid> 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


#4

<% form_for :person, @person, :html => {:id => ‘person_form’} do |f| %>

<% end %>

On Fri, Feb 20, 2009 at 2:41 PM, Nisha Thoprath <
removed_email_address@domain.invalid> wrote:


My home: http://flyerhzm.spaces.live.com