how to change the document behaviour when submit the form in html.
I have html page with EXIT/UPLOAD button. I just want to display
progress bar and also cursor wait mode before executing the code
inside the form_submit function.
//code display the progress bar, set the cursor to wait and
//disable the form.
divProgress.style.display = "block";
document.body.style.cursor = "wait";
frmDoc.disabled = true;
//code that performs the upload part.
var xmldoc = xxx.somefunction();
var errstr = xxx.anotherFunction();
but problem here, it is displaying the progress bar, cursor mode
change only after executing the later part of the code. Is there
thanx in advance.
|All times are GMT. The time now is 05:47 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.