>Im not sure I understand.  login_form is the id of the form that I am
>trying to submit.  and form_submit is the id of the actual submit
>button. I tried the following:

I don't understand. what is your html code?
if your button is type submit, when it pressed send the form automatic



document.observe('dom:loaded', function(){
   $('login_submit').invoke('observe', 'submit', function(evt){
      evt.stop();
      //do stuff
   });
});
-- 
________________________________________
Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to