|
Ajax.Updater with Javascript response
Hi,
I'm using prototype function to display some html in a <div>. This all works fine, however for a session timeout I return a javascript response instead. This is eval'd as expected. My problem is the Ajax.Updater writes the javascript response into my <div> so the user can see the javascript code. Is there some way I can get prototype to only evaluate the javascript and NOT write it into the page ?
Thanks,
Paul
|