Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
All Objects
RegExp Object
PROPERTY: RegExp::input
This property is a string against which a regular expression is matched. Input is static and is therefore always used as
RegExp.input
. If this property has a value, that value is used by default as the argument of the
exec
and
test
methods, unless another argument is provided. When no argument is provided with these methods, the script or browser can preset the
input
method as follows:
Where a TEXT form element calls an event handler, it is set to the value of the contained text.
Where a TEXTAREA form element calls an event handler, it is set to the value of the contained text and the
multiline
property is set to true so that the match can be executed throughout the text.
Where a SELECT form element calls an event handler, it is set to the value of the selected text.
Use the
href
property to change a link. Where a
Link
object calls an event handler, it is set to the value of the text between the <A> tags.
The value of
input
clears after the event handler completes.
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information