Interestingly, the browser apparently can load the page quicker if javascript is at the bottom.
http://developer.yahoo.com/performance/rules.html -Jim http://www.thepeoplesfeed.com On Wed, Sep 9, 2009 at 5:08 AM, Abhinav Saxena <[email protected]> wrote: > Ideally, javascript should be kept in head section of html, and for this > you can use content_for tag. Read more about here: > http://api.rubyonrails.org/classes/ActionView/Helpers/CaptureHelper.html#M001763 > > Thanks, > Abhinav > -- > अभिनव > http://twitter.com/abhinav > > > > On Wed, Sep 9, 2009 at 2:31 PM, HUNT HUNT < > [email protected]> wrote: > >> >> I put the code but the result coming is that no action is performed on >> click the button. >> >> I haven't found relevant information in google. >> -- >> 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 [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 -~----------~----~----~----~------~----~------~--~---

