how to pass 2 variables to controller from <a href="#" onCli

link_to_remote 'Hotel', :url => {:action => 'search', :a =>
'123', :b => '456'},        :before => "Element.show('spinner')",                           :success=> "Element.hide('spinner')"