Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form target="_blank" action="www.websiteipostto.com" method="POST">
- // You bind event handler to the form submit
- $('form#name').submit(function () {
- $.ajax({
- type: "POST",
- url: "www.websiteipostto.com",
- success: function (data) {
- $.parseXML(data)
- //There you perform you action on the XML-format data.
- }
- });
- //Cancel the default redirecting action
- return false;
- });
Add Comment
Please, Sign In to add comment