• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

void

JavaScript 1.1, JScript 1.0, ECMAScript 1.0 NES2+, Nav3+, IE3+ Syntax

void(expression)
void expression
						

Description

The void operator is used to evaluate an expression without returning a value. This operator returns undefined and is commonly used in place of the onClick event handler because of various bugs in early UNIX Navigator browsers. Note that Opera browsers do not support this operator.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint