0

I have a jQuery post problem. I am sending information from a form with a jQuery click function.

$("#donateButton").click(function (){
                $.post("creditCardAuthorize.php",
                {
                    amount: $('#amount').val(),
                    description: $('#donation').val()
                });
                $('#rightContent').html(ajax_load).load('content/creditCardAuthorize.php');
            });

The problem is that on some browser it 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
Chrome goes to home page
FireFox works
Safari goes to home page

I am not sure of where to start looking for the problem. Any suggestions?

1
Contributor
1
Reply
6
Views
7 Years
Discussion Span
Last Post by rouse
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.