Try
win99.getContent().update('<A javascript:MyFunction>Link 1</A>');
Thanks
Booshan Rengachari
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Alan McLennan
Sent: Thursday, March 22, 2007 9:48 AM
To: [email protected]
Subject: [Javawin] Dynamic link list with innerHTML
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