[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mocha:



>Ok, dumb question of the day...<G>
>
>Anybody know what the "mocha:" command entry in Netscape is used for
>and how?
>
>Its looks a great deal like the about: function..

mocha: is used to do run a javascript.

mocha:window.alert('hi')

Try that in a <A HREF="">.  It lets you use javascript as urls.

Mocha: it's self will open up a "debugger" of sorts for javascript.

-eric

--
      Eric A. Perlman - eric@yikes.com
http://www.yikes.com/ - http://www2.yikes.com/


--------------------------------------------------------------------
For help about the list, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.
List archives and pointer to FAQ: http://www.obscure.org/javascript/