Hi,

Try changing the event for the drop down to "onchange" not "onclick" and  
the best way to do this is through javascipt code, not inline inside the  
html element. Set an id for the drop down element and use  
Event.observe(element, "change", dosomething).

Niko

On Sun, 10 Feb 2008 22:01:41 +0200, tedster <[EMAIL PROTECTED]> wrote:

>
> I am trying to update a div when a checkbox is checked.  When this
> happens, the originating div redraws, forcing some unwanted behavior.
> To see what I mean, check out http://www.packhacker.com.  Select
> "Submit" and you will get a packing list.  Then, click on Activities
> to "roll up" a div.  Then check a box - you will see what I mean.
>
> Any thoughts?
> >



-- 
Best Regards,
Nikodim Lazarov

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" 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-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to