On May 2, 2007, at 1:06 PM, Diodeus wrote:

> Tave the submit button be type="button", not type="submit" and have
> the onclick call a function that sets the form target to nothing, then
> submit the form normally.

I disagree.  Keep the type="submit", observe the onsubmit event  
instead of onclick.

The hidden iframe is an interesting, but a visual response won't  
degrade if Javascript is turned off.


TAG


--~--~---------~--~----~------------~-------~--~----~
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