Results 1 to 2 of 2

Thread: problem update cursor style

  1. #1
    Join Date
    Apr 2010

    problem update cursor style

    I have a java script function which creates a div appends to the body on every ajax request, this div has a class and the class defines cursor: wait; so when this div shows the cursor changes to wait cursor.
    on completion of ajax request I hide this div , but the cursor style remain as wait cursor until I move the mouse.
    to fix this I tried body.style.cursor='auto' but it does not work.

    here is my java scrit function whihc hides the div

    				  function hideBusysign() {
    				    if (busySymbol != null) {
    				      busySymbol = null;
    I commented the line //busySymbol.parentNode.style.cursor='auto'; uncommeting gives error only in IE , in chrome cursor style is never changed and chrome console does not show any erro.
    Please advice whats wrong in my code.

  2. #2
    Join Date
    May 2006
    Somewhere behind your screen
    i would try busySymbol.parentNode.style.cursor='default'; instead of 'auto'
    signature under construction

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center