Please tell me how to integrate javascript in ruby code(in rhtml page) -- Posted via http://www.ruby-forum.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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
<% javascript_tag do -%> # javascript codes <% end -%> hope this can help you On Fri, Feb 20, 2009 at 1:53 PM, Nisha Thoprath < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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 --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
How to give name for form_for tag, so that javascript manipulation can be done on it -- Posted via http://www.ruby-forum.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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 < > rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
<% form_for :person, @person, :html => {:id => ''person_form''} do |f| %> ... <% end %> On Fri, Feb 20, 2009 at 2:41 PM, Nisha Thoprath < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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 < > > rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---