javascript document execCommand( )

execCommand( ) NN n/a IE 4(Win) DOM n/a

execCommand("commandName"[, UIFlag[, value]])

 

Available only in the Win32 platforms for IE, the execCommand( ) method executes the named command. Most commands require that a TextRange object be created first for an insertion point.

Parameters
commandName

A case-insensitive string value of the command name.

UIFlag

Optional Boolean value: true to display any user interface triggered by the command (if any); false to prevent such display.

value

A parameter value for the command.

 
Returned Value

Boolean value: true if command was successful; false if unsuccessful.


  • satya
    #1
    2008-10-01
    [Quote]
    how to set dropdown width according to contains(whenever we click on dropdown)in asp.net
  • javascript manual
    #2
    2009-05-11
    [Quote]
    [satya: how to set dropdown width according to contains(whenever we click on dropdown)in asp.net]

    How about using CSS?
    <select style="width:20px">
satya
javascript manual

612,Nickname,Homepage or email,Comments here,Add comment