What does :with do in _remote calls, like link_to_remote() or
The documentation says :with should point to:
XMLHttpRequest. This defaults to ‘value’, which in the evaluated
context refers to the new field value. If you specify a string without
a “=”, it’ll be extended to mean the form key that the value should be
assigned to. So :with => “term” gives “‘term’=value”. If a “=” is
present, no extension will happen.’
What does all that mean??
I need to take the value from a hidden field and pass this with the
_remote call. Is that what with is for? When I naively turn it on
(with the name of the hidden field as a string) the
periodically_call_remote() stops working.
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!