How to pass values in Ajax.Updater

<%= link_to_remote( (image_tag
“/images/Edit.gif”,:border=>0,:title=>‘Edit’),:url=>{:action=>“say_hello”,:id=>sal.id},:html=>{:onclick=>“new
Ajax.Updater(‘mydiv’,
‘/example/say_hello’, {asynchronous:true}); return false;”})%>

       This is my coding i don't know how to pass id to

link_to_remote using Ajax.Updater.if the edit link is clicked in the
bottom of the page,it should be rollover to top of the page and the
content of the edit link should be displayed.