Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey I am using google tracking to find how many people clicked on button. On clicking a button a jquery confirm dialog pops up. On clicking 'yes' tracking is called and then user is redirected to another page. The problem occurs on some PCs that on clicking 'yes' it does not get redirected to another page. Same page gets loaded again.
C#
buttons: [
    {
        text: "Yes",
        click: function () {
            $(this).dialog('close');
            pageTracker._trackPageview(gtc);
            $('form#paymentForm').submit();
        }
    }
]

When I removed that line, the user got redirected to another page. This does not happen on all the computers. I rearly get the PC on which I can encounter this problem.
Posted
Comments
Ami_Modi 1-Jun-15 2:35am    
Could it be any firewall or antivirus which not letting work this properly?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900