Re: 2 Newb Questions

Xavias
Mon, 26 Feb 2007 19:35:00 -0000

Luke i finally got the thing working - thanks for the help

For all those who have looked at this post and thought "this kid is
smoking crack" I have shown below what i was doing wrong (simple mistake
that i''m not to proud of)

    @store = params[:store]
@today = params[:hiddendate]

i had to edit the @today in my controller - for some reason i didn''t
edit this until I noticed the reply luke put up.

on the html side i left what you had mentioned earlier

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

And it works like a charm - thanks to everyone for the help. Big thanks
to Luke for actually understanding my crazy request that was not
communicated well.