I didn't know whether to ask here or in html so I'm starting here. I have an eCommerce prog that calls upon an external service to purchase something. The page consists of a form with fields and the "Purchase" button has an onClick event that call a js function to use innerHTML to place a simple-ish "please wait..." message in the div content.
While I get no errors and the purchase occurs I do not see any content changing indicating the please wait msg.
My question is:
What technique should I use to write the message over the web page form effectively replacing the form content with the message content?
I've tried a simple web page output but because there is no intervening input from the user the successful page appears below the please wait page which is NOT the desired action.
Ideas/suggesting to put me on the correct track greatly appreciated.
Thanks
While I get no errors and the purchase occurs I do not see any content changing indicating the please wait msg.
My question is:
What technique should I use to write the message over the web page form effectively replacing the form content with the message content?
I've tried a simple web page output but because there is no intervening input from the user the successful page appears below the please wait page which is NOT the desired action.
Ideas/suggesting to put me on the correct track greatly appreciated.
Thanks