High!
I just wondered why this won't work?
$.post($("#jsCheckoutForm_1b").attr("action"), {
sLoginName: $("#sLoginName").val(),
sPassword: $("#sPassword").val()
}, function(sData){
alert(sData);
}
);
the fun thing is that if i hard code the action in stead of using $("#jsCheckoutForm_1b").attr("action")
, the form is submitting. Alerting $("#jsCheckoutForm_1b").attr("action")
does work fine (meaning it displays the right url to use).
Any ideas?