If you are using prototype, you can get (for example) all the divs
with the $$ function and then disable the form elements, see
http://www.prototypejs.org/api/utility/dollar-dollar.

Regards.

Franco Catena.

On Jun 24, 10:51 am, Sandip Ransing <san2...@gmail.com> wrote:
> Hello All,
> how do i disable child form elements of any div [ html obj ], so that they
> will not get posted.
> Is there any other way, to toggle form elements while form post ??
>
> > ~~~
>
> <form>
>
> <div1>
>
> form elements
>
> </div>
>
> > <div2>
>
> form elements
>
> </div2>
>
> </form>
>
> ~~~
>
> Sandip R~
>
> --
> Ruby on Rails 
> Developerhttp://sandip.sosblog.comhttp://funonrails.wordpress.comwww.joshsoftware.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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to