I use porototype to update page by form:
<%= observe_form(:search_form, :frequency => 1, :update => :search_hits, :loading => "Element.show('spinner')", :complete => "Element.hide('spinner')", :url => { :action => :search }) %>
But now I need to replase it by iQuery, can somebody help me? What I need to do?
I don't know either library well at all, but I imagine that you can find what you want here [ jQuery API Documentation ] if you're know what you're doing with Prototype.
Regards, Craig
Look for "jquery ajaxform" in Google.
Or look on errtheblog (The jSkinny on jQuery — err.the_blog).