Alert(null)

Hello,
sometimes I get this “message” or error:

try { alert(null); } catch (e) { alert(‘RJS error:\n\n’ + e.toString());
alert(‘alert(null);’); throw e }.

What does this mean? My app works fine and variables are passed ok. This
time it poped up when I was using form_remote_tag to submit some
selection field values to controller action.

Thanks for your help!

you might be trying to call render :update do … and updating a dom
element that doesn’t exist…

Mike

Yes, you’re right. I was trying to display a variable that was null. I
inserted some if sentances and things got messed up in the controller.
Anyways, thanks for your effort, I’ll remeber this for the future tasks.
cheers!