[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
java and javascript
there doesn't seem to be much documentation regarding communication
between java and javascript. i'm trying to have my java applet tell
the browser to load a .html file into a frame.
so i have my java applet call:
AppletContext.showDocument("javascript:window.open(<URL>, <frame>))
and i get the java script error:
syntax error.
/window.open(<URL>, <frame>)
there is no "/" in my call, it seems that it is being added somewhere
along the line.
any clues?
thanks....
Dave
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dave Scobie
Media Bits
scobie@mediabits.com
415.255.9418
www.mediabits.com/mbits/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~