Posted by: Ayus February 18, 2011
Login in to Rate this Post:
0
?
@dafault,
If pay is loading twice means you are sending two request...in order for page to load u need to send request to server...
for ur example of credit card processing, u can disable the submit button after it gets a hit...and u can disable it until u get response from server....
or you can use javascript for form submission.....before submitting you can count the button click and if button click is more than 1, prompt a msg user....
but i prefer disabling a button after it gets hit once so that we avoid double/multiple submission....
If pay is loading twice means you are sending two request...in order for page to load u need to send request to server...
for ur example of credit card processing, u can disable the submit button after it gets a hit...and u can disable it until u get response from server....
or you can use javascript for form submission.....before submitting you can count the button click and if button click is more than 1, prompt a msg user....
but i prefer disabling a button after it gets hit once so that we avoid double/multiple submission....