is there a way to change mouse pointer when you send process command to the server (eg vbhourglass). a good example would be while filing the combo box the mouse pointer should be in glass mode, when done you return to normal pointer.
is there a way to change mouse pointer when you send process command to the server (eg vbhourglass). a good example would be while filing the combo box the mouse pointer should be in glass mode, when done you return to normal pointer.
you can do it using javascript and ajax.
sample oi
i wont give you the code hhahaha another hint..when setting mouse cursor. Traverse the entire document using javascript and set the cursor style to "wait" just like this one..
...you can put that to a function so that you can call it before you do a server request using AJAX. Then traverse all document again and reset the cursor style when the readyState member variable of your XMLHttpRequest returns the value 4 which means "the request is complete".Code:if (document.all) { for (var i=0;i < document.all.length; i++) { document.all(i).style.cursor = 'wait'; } }
Thats all I can give..so start digging
dont know about AJAX? start here.. http://www.w3schools.com/ajax/ajax_example.asp
Similar Threads |
|