[jQuery] Bad jQuery post
I have a jQuery post problem. I am sending information from a form
with a jQuery click function. I am loading the response from one form
that is a DIV called rightContent to the same DIV and pass the
information along.
The problem is that on some browser it process the way I would expect,
goes to the correct page, but on others it goes to the home page, or I
should say it does an ajax_load of the home page.
IE 8 works
FireFox works
Chrome goes to home page
Safari goes to home page
I am not sure of where to start looking for the problem. Any
suggestions?
Thanks!
$("#donateButton").click(function (){
$.post("content/creditCardAuthorize.php",
{
amount: $('#amount').val(),
description: $('#donation').val()
});
$('#rightContent').html(ajax_load).load('content/
creditCardAuthorize.php');
}, 'json');
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home