Submit a form_remote from RJS

I have a remote_form :

<% form_remote_tag( :url =>{:action => ‘list’}, :html => {:id =>
‘prop_search_form’, :name => “prop_search_form”} ) do %>

<%= submit_tag “Search”, {:id => “search_btn”, :class => ‘inputSubmit’}
%>

I try to submit it from an RJS action in my controller, using :


page << “$(‘prop_search_form’).submit()”

is that correct ?

kad