[Rails-spinoffs] Re: Ajax.Request evalJSON document.write hangs

2008-02-10 Thread Nicolás Sanguinetti
As Justin pointed out, if you are debugging, firebug (and firebug lite in non-firefox browsers) and it's console.log method work fine. If you want to update the page, you can use Element#update or Element#insert, provided by Prototype. http://prototypejs.org/api/element/update http://prototypejs.

[Rails-spinoffs] Re: Ajax.Request evalJSON document.write hangs

2008-02-10 Thread Burst Web Solutions
> > > Its writing the value to the screen > > That's what happens when you use document.write like that. If you're > just debugging, and you use Firefox/Firebug, use console.log instead. > > -justin So what would be the best way to print the values to the browser without using document.write? th

[Rails-spinoffs] Re: Ajax.Request evalJSON document.write hangs

2008-02-10 Thread Justin Perkins
On Feb 10, 2008 2:57 PM, Burst Web Solutions <[EMAIL PROTECTED]> wrote: > Its writing the value to the screen That's what happens when you use document.write like that. If you're just debugging, and you use Firefox/Firebug, use console.log instead. -justin --~--~-~--~~~-