[All]
Can you change the mouse cursor on the client-side when a server-side event gets triggered that indicates a time consuming process?
概要: Can you change the mouse cursor on the client-side when a server-side event gets triggered that indicates a time consuming process?
Question:
Can you change the mouse cursor on the client-side when a server-side event gets triggered that indicates a time consuming process?
Answer:
You can change the mouse cursor in HTML easily, like so:
<body style="cursor: wait">
When the user takes an action on the web form that invokes the event that initiates the time consuming process, you present a page that contains the HTML that redefine the cursor as a 'wait' pointer, and then when the process ends, you present a page that changes the cursor back to the default state:
<body style="cursor: text">