http://www.perlmonks.org?node_id=668629


in reply to Re^3: Option to Toggle Perlmonks Markup for Free Nodelet
in thread Option to Toggle Perlmonks Markup for Free Nodelet

You can put the javascript in code tags in a node:

alert("it worked!")

and probably use something like:

<script href="?node_id=668629;displaytype=displaycode;abspart=1;part=1 +">

(Unless your browser refuses to run javascript that wasn't served with a "text/javascript" MIME header.)

- tye