<% 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:
>
> 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
>
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>
--
My home: http://flyerhzm.spaces.live.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---