Remote function and template

Hi,

I am making a call to remote_function, which updates a variable that I
need to use in my current view. Call is happening, but the variable is
not getting updated?

PS: And to avoid missing template error , in my remote function I am
doing this: render :nothing => true, :layout => false.

Please Suggest.
Regards,
Sandeep G

On 22 Nov 2007, at 22:46, Sandeep G. wrote:

Hi,

I am making a call to remote_function, which updates a variable that I
need to use in my current view. Call is happening, but the variable is
not getting updated?

PS: And to avoid missing template error , in my remote function I am
doing this: render :nothing => true, :layout => false.

What are you actually doing?

Fred

Frederick C. wrote:

On 22 Nov 2007, at 22:46, Sandeep G. wrote:

Hi,

I am making a call to remote_function, which updates a variable that I
need to use in my current view. Call is happening, but the variable is
not getting updated?

PS: And to avoid missing template error , in my remote function I am
doing this: render :nothing => true, :layout => false.

What are you actually doing?

Fred

Thanks Fred.
I used rjs to replace html of div that element i had to update. That
worked.