File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
setCursor in JApplet ???
Cursor problem when moving around the frames
Java Swing Custom Cursor ( Mac styled rotating dots busy cursor)
What is the expected behaviour of the cursor when a dialog appears?
Use a ResultSet twice