aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes How to set the cursor to default ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to set the cursor to default ?" Watch "How to set the cursor to default ?" New topic
Author

How to set the cursor to default ?

Engin Okucu
Ranch Hand

Joined: Feb 09, 2002
Posts: 174
I click on the submit button to download a file. The cursor is set to waiting state.
When the SAVE - OPEN dialog appears , i want to set it to default state.

Thanks.
Kj Reddy
Ranch Hand

Joined: Sep 20, 2003
Posts: 1704
Try this:

document.formname.style.cursor="default";
Engin Okucu
Ranch Hand

Joined: Feb 09, 2002
Posts: 174
Thanks you for reply.
I already tried it. The cursor is still in waiting state after the dialog is viewed.
Kj Reddy
Ranch Hand

Joined: Sep 20, 2003
Posts: 1704
Originally posted by Engin Okucu:
Thanks you for reply.
I already tried it. The cursor is still in waiting state after the dialog is viewed.


Hmmm not sure why it is not working, we do use this extensively in our project and it works fine. Make sure your piece of code getting called, not easy to debug javascript code.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to set the cursor to default ?
 
Similar Threads
Cursor problem when moving around the frames
setCursor in JApplet ???
Use a ResultSet twice
Java Swing Custom Cursor ( Mac styled rotating dots busy cursor)
What is the expected behaviour of the cursor when a dialog appears?