Activescaffold forms and <script> tag

Hi,

I want to put an tag on an activescaffold form. The docs say
I can use a helper or a form overhide… but when I put a tag
in one of those, it gets stripped. I think it’s some security stuff.
But I need to trigger an action when the form is loaded to adjust some
presentation logic. How can I put the script tag into my form?

Thks,

Bruno R.

I foud the answer:

http://prototypejs.org/api/ajax/updater

About evalScripts and defining functions

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs