link_to_remote for a div

Hi,

i just want to create with Ror an event when a the mouse is over an
element. Is there any helper function like link_to_remote that
generates the code....
I need something like this

<div onMouseOver="<%= function_i_need
'div_i_want_to_update', :url=>{:action=>'list'} %>" >
Some text
</div>

Thanks

cfingerh,
  > i just want to create with Ror an event when a the mouse is over an
  > element. Is there any helper function like link_to_remote that
  > generates the code....

You are close: look at 'link_to_remote' source
   http://caboo.se/doc/classes/ActionView/Helpers/PrototypeHelper.html#M005056
, and you'll see that it calls 'remote function'
   http://caboo.se/doc/classes/ActionView/Helpers/PrototypeHelper.html#M005063

In the view :