Shouldn't it be?
win99.getContent().innerHTML= '<a href="javascript:MyFunction()">Link
1</a>';
On 22/03/07, Alan McLennan <[EMAIL PROTECTED]> wrote:
In a multi-window application, I am using the following line to write to
"win99".
win99.getContent().innerHTML= ('<A javascript:MyFunction>Link 1</A>');
I am trying to create a dynamic list of links in "win99".
"Link 1" appears in win99, but then the problems start.
I am using an observer, and want this to update win99.
1. How do I replace the text "Link 1" with a string variable, and
2. How do I create the link to run MyFunction, and
3. How do I write multiple lines to win99 using innerHTML, or is there
some other way ?.
Thanks for all help offered.
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com