# Change mouse pointer

**URL:** <https://www.ruby-forum.com/t/change-mouse-pointer/117356>\
**Category:** Ruby\
**Created:** [October 16, 2007, 8:51am UTC](https://www.ruby-forum.com/t/change-mouse-pointer/117356 "2007-10-16T08:51:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![crazybass](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/eb9ed0/32.png) [@crazybass](https://www.ruby-forum.com/u/crazybass)\
**Post date:** [October 16, 2007, 8:51am UTC](https://www.ruby-forum.com/t/change-mouse-pointer/117356/1 "2007-10-16T08:51:01Z")

</div>

Hello

I made my first ruby/ROR web site. Now, I would like to improve it.  
In a page, I have a “link\_to\_remote” object. When I click it, a method  
of my controller is called. This method executes a DB query and the  
result is set on the web page.  
The thing that I would like to do is to change the mouse pointer when I  
click on the link\_to\_remote object so the user see that the operation is  
executed.  
After the query ended, I want to put back the mouse pointer.

What is the best approach to do that?

Thanks
