Link to home
Start Free TrialLog in
Avatar of enigma1234567890
enigma1234567890Flag for Ireland

asked on

help with form and javascript

using the following URL  http://www.javascriptkit.com/javatutors/re.shtml
can someone explain what
this line of the code does if (document.myform.myinput.value.search

are (myinput ,  value and search )
supposed to be something value and what would it read for this form

<form name="xxx" onsubmit="return validateX();" method="post">


<table width="100%" border="0">
<tr><td>Firstname:</td><td><input type="text" name="fname" id="fname" /></td></tr>

ASKER CERTIFIED SOLUTION
Avatar of Robert Schutt
Robert Schutt
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of enigma1234567890

ASKER

I know the regex just stuck on the look at this line
tr><td>Firstname:</td><td><input type="text" name="fname" id="fname" /></td></tr>
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial