  | | | textArea and Javascript question | textArea and Javascript question 2004-03-19 - By Brian Kurzius
Back It looks like you just incorrectly nested the single quotes. Try this:
myText_txt.htmlText="<a href=\"javascript:myfunction('Test.com',200,300);\">mySite.com</a>";
-- --Original Message-- -- From: Jaye Morris | jayeZERO.com [mailto:jaye@(protected)] Sent: Friday, March 19, 2004 10:08 AM To: flashcoders@(protected) Subject: RE: [Flashcoders] textArea and Javascript question
I am trying to launch a sized window from a textArea. In my text.as file I coded:
<a href='JavaScript:displayWindow('http://www.mysite.com', 500, 300);'>mySite.com</a>
Am I to assume that I cannot call a javaScript from a text area?
// Jaye Morris | Multimedia Design // www.jayezero.com | jaye@(protected)
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:107441 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:107445 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |