Hi,
I need to run an applet by clicking a hyperlink.The following is the piece of code which i tried.It opens a new window but the applet does not run.
function openAppletWindow() {
var win=window.open("","","location=0,menubar=0,resizable=0,toolbar=0,status=0,height=150,width=500");
win.document.writeln('<APPLET WIDTH=100 HEIGHT=100 NAME="applettohtml.html" CODE="applettohtml.class"</APPLET>');
}
</script>
<p><a href="javascript

penAppletWindow()">Click here to start
Applet</a>
</p>
Arul has suggested me on this before.I am new to java and javascript.I dunno whether this is too simple.But i am not able to figure out what is going on...
Thanks.
Srikanth Narra