Im trying to post to aweber using just
jquery. I have a method call like this
$(function () {
$('#submit').click(function () {
$.post('http://www.aweber.com/scripts/addlead.pl',
{
meta_web_form_id: '12345',
meta_split_id: '',
listname: 'some_list',
redirect: '',
meta_redirect_onlist: '',
meta_adtracking: 'my_Web_Form',
meta_message: '1',
meta_required: 'name,email',
meta_forward_vars: '',
meta_tooltip: '',
email : '
[email protected]',
name : 'tester testing'
},
function (data) {
alert('data load: ' + data);
});
});
});
it is supposed to take the result of the post and alert it in a box. when i try to do it manually with forms it works but redirects me to a 'form-sorry.htm' page, which is fine, just wondering if there was a way to display the end result of the post. Im guessing hte addlead.pl is just a posting page with no response.