Re: 2 Newb Questions

Xavias
Mon, 26 Feb 2007 05:28:08 -0000

I want them in the ajax form tag as params - but i am not sure of the
syntax for this.

<%= form_remote_tag :url => {:action => ''newlist'',
:store => @store,
:today => @today}, :update => ''mainfrm'',
  :complete => visual_effect(:bind_down, ''mainfrm''),
  :before   => %(Element.show(''spinner'')),
  :success  => %(Element.hide(''spinner'')) %>

So instead of @store and @today up there i want to reference the hidden
field so i can use the value set with some javascript dynamically.

Is this possible?