Posted on: 3/20/2014 1:13:38 PM | Views : 623

Hello Experts,
I just want to get the hit log of all links in the page. All are html links, i am using jquery for all link clicks, from that i got the URL. I want to store the hit log of URL, Clicked by, and Clicked on details in a text file.
I am using web method to store the logs, Client call using
$(document).ready(function() { $(document).on('click','a',(function(event) { $.ajax({ type: "POST", contentType: "application/json; charset=utf-8", dataType: "json", url: "Default.aspx/writeMyLog", data: "{}", success:function(response){alert("success");}, error: function(data) {alert("AJAX Error!");} }); }); }); it works fine if alert exists, when i removed the alert, it doesnt work.
Please give me some idea to resolve this issue. I just want to achieve this without alert.< ...

Go to the complete details ...