Export (0) Print
Expand All

onbeforeeditfocus event

Fires before an object contained in an editable element enters a UI Activation state or when an editable container object is control selection.

Syntax

HTML Attribute <element onbeforeeditfocus = "handler(event)">
Event Property object.onbeforeeditfocus = handler;

Event information

SynchronousNo
BubblesNo
CancelableNo

Event handler parameters

pEvtObj [in]

Type: IHTMLEventObj

Standards information

There are no standards that apply here.

Remarks

For the onbeforeeditfocus event to fire, document elements must be in edit mode. One way to invoke edit mode is to set the designMode property to On.

The onbeforeeditfocus event differs from the onfocus event. The onbeforeeditfocus event fires before an object enters a UI Activation state, whereas the onfocus event fires when an object has focus.

Note  This event also fires when an input or textArea object gets the focus in browse mode.

Moves the object into a UI Activation state.

To invoke this event, do one of the following:

  • Press the ENTER key or click an object when it has focus.
  • Double-click an object.

See also

a
abbr
address
area
b
bdo
blockQuote
body
button
cite
code
custom
dd
del
div
dl
document
dt
em
fieldSet
form
hn
i
input type=button
input type=checkbox
input type=file
input type=hidden
input type=image
input type=password
input type=radio
input type=reset
input type=submit
input type=text
ins
kbd
label
legend
li
object
ol
p
pre
q
rt
ruby
s
samp
select
small
span
strong
sub
sup
table
td
textArea
tr
u
ul
var

 

 

Send comments about this topic to Microsoft

Build date: 11/14/2012

Show:
© 2014 Microsoft