rickthemick wrote:
> Below I want to put "js_param" where the "????" are!
>
> Anyone know how to do this?
>
> index.rhtml:
> ----------------------------
> <html>
> ...
> function js_udt(js_param)
> {
> setTimeout("<%= remote_function(:update =>
''dummy'', :url => { :action
> =>
> ''update_fcn'', :param => ???? }) %>", 0);
> }
> ...
> </html>
setTimeout( "new Ajax.Updater(''dummy'', ''<%=
url_for(:action => ''update_fcn'') -%>?param=" +
escape(js_param) + "'', {asynchronous:true,
evalScripts:true})", 0);
--
We develop, watch us RoR, in numbers too big to ignore.