Forum Moderators: open

Message Too Old, No Replies

IE SDK - execCommands

the CreateLink command dialog has no target

         

httpwebwitch

10:02 pm on Mar 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am using Internet Explorer execCommands to build an on-screen HTML editor. I am using the built-in commands as defined here:

h**p://msdn.microsoft.com/workshop/author/dhtml/reference/commandids.asp

In particular, the "CreateLink" command inserts a hyperlink on the current selection by activating a dialog box. The dialog box (which is part of IE, not controlled by my script) allows me to set the URL. What if I also want to set the "target"?

Is there another execCommand that lets me put more attributes into an existing tag?

Sticky me if you have ANY experience using execCommands! thanks.

httpwebwitch

8:01 pm on Mar 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



So, no one here has experience using IE/ Javascript execCommands?