javascript confirmation box with jquery Dialog in Rails

javascript confirmation box with jquery Dialog in Rails

Hi
     My application is in RubyOnRails. I have an index page Against each record I have a delete button Now I implemented it like
<%= link_to "Delete",user_url(u), {:method => :delete, :confirm => 'Are You Sure?'}

        I would like to rewrite it using JQuery modal box .But dont know how to do it. Please help

Thanks
Tom