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?

Resolved with updated browser and jQuery

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.