[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: java and javascript
>
> 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
I have read somewhere (from Andy Augustine?) a trick something like:
javascript:/**/window.open
which means for one side nested comments. But I am not sure
about syntax...
Martin
------------------------------------------------------
| Martin Senger m.senger@dkfz-heidelberg.de |
| voice: (0049) 6221/422340 |
| fax: (0049) 6221/422333 |
------------------------------------------------------