This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to set the cursor to default ?
 
Similar Threads
Use a ResultSet twice
Java Swing Custom Cursor ( Mac styled rotating dots busy cursor)
Cursor problem when moving around the frames
What is the expected behaviour of the cursor when a dialog appears?
setCursor in JApplet ???