Re: 2 Newb Questions

Xavias
Mon, 26 Feb 2007 02:42:04 -0000

>   <%= form_remote_tag ... %>
>     <%= hidden_field :post, :id %>
>

what would the exact syntax be though?

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

i set the below hidden values dynamically

    <input type="hidden" name="hiddenstore"
id="hiddenstore" value=""/>
    <input type="hidden" name="hiddendate"
id="hiddendate" value=""/>