How to change mouse pointer to hour glass on button click in web application? [duplicate]

StackOverflow https://stackoverflow.com/questions/9837879

سؤال

How to change the mouse pointer to hour glass on button click and back to pointer after loading data in an asp.net web application?

هل كانت مفيدة؟

المحلول

The simple solution is to use JavaScript...

function doHourglass()
{
  document.body.style.cursor = 'wait';
}


<body onbeforeunload="doHourglass();" onunload="doHourglass();"><body 

http://www.codeproject.com/Articles/8243/Hourglass-cursor-for-Web-ASP-NET-pages

I found this article by searching for "ASP.NET Cursor" it was the first result.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top