Closing using Ajax?
-
Hi friends, I use Ajax to solve the problem, when a client directly click the close button. In the i call the ajax function to delete the user details from the database. But the problem is whenever the user navigate to the other form the function was called and the user details were deleted from the DB. Is there is anyway to solve this problem?
-
Hi friends, I use Ajax to solve the problem, when a client directly click the close button. In the i call the ajax function to delete the user details from the database. But the problem is whenever the user navigate to the other form the function was called and the user details were deleted from the DB. Is there is anyway to solve this problem?
Use the call() in the button_click event, not in body_unload
-
Use the call() in the button_click event, not in body_unload
He is saying browser close event :) there is not button_click event for that ;)
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog
-
He is saying browser close event :) there is not button_click event for that ;)
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog
I said, use the button instead of the browser. Like: