I am playing around with AJAX pagination, but even a hard-coded <%= link_to_remote(''1'', :update => ''listing'', :url => {:action => ''listing'', :page => 1}) %> produces href="#". Does anybody know why? -- fxn
Xavier Noria wrote:> I am playing around with AJAX pagination, but even a hard-coded > > <%= link_to_remote(''1'', :update => ''listing'', :url => {:action => > ''listing'', :page => 1}) %> > > produces href="#". Does anybody know why? > > -- fxnIt should produce something like(IF its AJAX): <a href="#" onclick="new Ajax.Updater(''listing'', ''/controller/listing?pgae=1'', {asynchronous:true, evalScripts:true}); return false;">1</a> Joey__ -- Posted via http://www.ruby-forum.com/.
On Feb 21, 2006, at 22:22, Xavier Noria wrote:> I am playing around with AJAX pagination, but even a hard-coded > > <%= link_to_remote(''1'', :update => ''listing'', :url => {:action => > ''listing'', :page => 1}) %> > > produces href="#". Does anybody know why?Argh, that is right, I was puzzled because of a bug somewhere else.