Jump to content

about function execCommand()


christiecohen
 Share

Recommended Posts

what does the function execCommand() use for?where can i find some information about it?

Like all other iformation You can imagine, You can find with Google. :)1st link search-engine found goes to MSDN (Microsoft Developer Network) and there is all information needed. Google search: http://www.google.com/search?q=execCommand()execCommand "runs" commands on document, selection or range.and it works only with MSIE : so it can't be used seriously in real world.Here is other link where You can find all commands You can exec with it:http://msdn.microsoft.com/workshop/author/.../commandids.aspTutorial how to build WYSIWYG editor with execCommand:http://www.devguru.com/features/tutorials/...g/wysiwyg1.html
Link to comment
Share on other sites

and it works only with MSIE : so it can't be used seriously in real world
I think that's the important bit, really. It's an IE only JScript extension, so you should be looking to use alternative methods (although I know there aren't for some of the more specific execCommands() options.)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...