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

getOptionValue()

Nes2+Syntax

getOptionValue(key, num)

Description

The getOptionValue function is a top-level function that is not associated with any object. This function returns the same value as the client-side Option.text property. The key passed in as an argument represents the NAME attribute of the <SELECT> tag, while the num parameter is the indexed position of the selected option. Specifying num to 0 can reference the first selected option, which may not be the first option.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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