I use Return false;
in the function. ______________________________________________________________________ Alex Duffield ❖ Principal ❖ InControl Solutions . http:// www.incontrolsolutions.com On 7-Jul-07, at 11:54 AM, Scott Phillips wrote: > > Totally works thanks. One last question, when I do it onsubmit, is > there some way to actually then prevent the form from being submitted? > My goal is to avoid the page refresh... thanks! > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
