Hi! actual a simple thing? I need to setup an ajax-request before default form submition.. it's possible?
here my code example: <form id="myform" action="https://paypal.com/.." method="post"> <input type="text" name="test" value="" /> <input type="submit" value="Send" id="send-button" /> </form> <script> window.addEvent('domready', function() { $(send-button').addEvent('click',function(event){ var myRequest = new Request({async: true, url: '/ajax-target.html}).send(); // nothing happens here :( }); }); </script> Thank you!
