You must Sign In to post a response.

onchange event in vbscript

I am trying to call an asp function when a user changes a textbox field. The
code looks something like this:


<% Option Explicit %>



<TITLE>Sample Form</TITLE>


<% Function CheckUsername(UName)

................. CODE
End Function %>


HTML TEXT........

<INPUT TYPE=text NAME="UName" VALUE="" size="25"



Now when I display the page, and change the UName value, I get an error
message that says: " Object Expected"

Any help is appreciated.


Author: Kavitha07 Dec 2006 Member Level: Gold   Points : 2

Try this
<INPUT TYPE=text NAME="UName" VALUE="" size="25"

'onChange - case sensitive

Sign In to post your comments