HTML-Prototype - submit_to_remote doesn't submit the form

Posted on Thu Sep 20 05:46:54 2007 by ilial
submit_to_remote doesn't submit the form
I'm using submit_to_remote as follows:
$prototype->submit_to_remote('somename', 'somevalue', { url=>'someurl', loading => 'some javascript code', complete => 'some javascript code', });
clicking the button does not serialize the form. Am I doing something wrong? The documentation states: """ Returns a button input tag that will submit a form using XMLHttpRe- quest in the background instead of a typical reloading via POST. """
Write a response