I am trying to write an Array value to the value field of the textbox.
Here's my code
<input type="text" name="txtlogin_1" id="Txtlogin_1" value ='<%= Arr(0) %>' >
I get a "Type mismatch" error at this line.
Any ideas why? pls let me know.
Yes, it works like that, but not the other way around
My code is like this :-
Arr=Split(strValue,":")
<input type="text" name="txtlogin_1" id="Txtlogin_1" value ='<%= Arr(0) %>' >
<input type="text" name="txtlogin_2" id="Txtlogin_2" value ='<%= Arr(1) %>' >
and so on....
I could not figure out why Arr(0) will not work in a value field?
Seems like it should.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.