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.
>
> > 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
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
--~--~-~--~~~-