Search code examples
javascriptjquerymouse-cursor

How do I change the style of the cursor with JQuery?


I want to change the style of the cursor as if it were going over a link. How do I do this?


Solution

  • Modify the CSS cursor value by using the css() method

    $('#selector').css('cursor', 'pointer');
    

    Demo : http://jsfiddle.net/jomanlk/H6Nta/