K
KC
Hi,
I don't know why this question is so hard to have an answer ? I search
Google for
a while ... and can't find any "good" answer. Using "throw new
Error(msg)" does
work ... but I believe most people asking this question is try to find
method similar to
'printf()' instead of exception which may stop the script.
So please allow me to repeat this question again:
how to print a "Hello World" message to Javascript console (from
Javascript
based web page writer's point of view).
The "Hello World" should be a 'normal message' instead of 'error
message'.
So far, I found 'dump()' may be the solution if you can turn on some
browser's option ...
but don't know which one I should use for Firefox ??
It will be great if someone could provide a complete example instead of
just part of the
code.
Or, does Javascript Console ... just not designed for this kind of
purpose ???
Thanks
KC
I don't know why this question is so hard to have an answer ? I search
Google for
a while ... and can't find any "good" answer. Using "throw new
Error(msg)" does
work ... but I believe most people asking this question is try to find
method similar to
'printf()' instead of exception which may stop the script.
So please allow me to repeat this question again:
how to print a "Hello World" message to Javascript console (from
Javascript
based web page writer's point of view).
The "Hello World" should be a 'normal message' instead of 'error
message'.
So far, I found 'dump()' may be the solution if you can turn on some
browser's option ...
but don't know which one I should use for Firefox ??
It will be great if someone could provide a complete example instead of
just part of the
code.
Or, does Javascript Console ... just not designed for this kind of
purpose ???
Thanks
KC