I have a webpage that has a textbox. The user will enter a 5 digit code into the box and then click a <A HREF> link. I've been trying to build a Function called "VSerial_onclick()" to check that the code is in an earlier built Array before anything else happens...The function will include a For Loop until, found = "true", then exit for...there will be only one possible match in the array
I'm guessing I'm having trouble because the Array is built "outside" of the html.
Does anyone have any suggestions.
Since the whole page is ASP/VBScript I'd like to keep it similar...not a deal breaker...
The code for the textbox is:
Any Ideas?
Steve
I'm guessing I'm having trouble because the Array is built "outside" of the html.
Does anyone have any suggestions.
Since the whole page is ASP/VBScript I'd like to keep it similar...not a deal breaker...
The code for the textbox is:
Code:
<FORM ACTION='' METHOD='' Name=MyForm>
ENTER SERIAL # HERE : <input type=text Name=XUIC SIZE=5 Maxlength=5 value=''>
<A HREF=# id=VSerial Title='Click Here to View Report'> view</a>
</FORM>
Any Ideas?
Steve