Hello buddy, I have a problem of passing the Value in HTML Form to the VB Script function.

Like example: My Text1 value="1234&abc"

when pass the Text1 value to the Function(Text1.value), The Value pass in it will be 1234.
but the actual is 1234&abc. ( Client Side )

How Should I solve this Problem.....? Thank you...

The Source Code:
<html>
<form name="form1">
<input type="text" name="refno" value="1234&abcde"><input type="button" value="Submit"onclick="CheckSubmit(document.form1. refno.value)">
</form>
</html>
<script language="vbscript">
function CheckSubmit(refno)

document.write(refno) ' The result will be 1234 Only, not 1234&abcde

end function

Last edited by dormingo; 4Mar2006 at 06:19..