Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: execCommand specify Creatlink target parameters


Message #1 by "sreekumar menon" <msreekm@y...> on Wed, 24 Apr 2002 08:45:15
execCommand only applies to document, TextRange or controlRange.
So first you have to create a TextRange or a controlRange with
createTextRange or createControlRange.
Then you can use execCommand on the created object.

Regards,

Gerhard Wentink



>-----Original Message-----
>From: sreekumar menon [mailto:msreekm@y...] 
>Sent: Wednesday, April 24, 2002 8:45 AM
>To: javascript
>Subject: [javascript] execCommand specify Creatlink target parameters
>
>
>Hi,
>I am trying to specify target parameters within execCommand by 
>adding it 
>to arguments.. but it gives an error object doesnot support 
>this property. 
>I need to add target to both text and image with target frame 
>option.. Can 
>anyone help me regarding this....
>
>thanks in advance..
>
>sree,mumbai
>
>
>---
>
>Improve your web design skills with these new books from Glasshaus.
>
>Usable Web Menus
>http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/the
programme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20


  Return to Index