hello I have a problem with focus on a textbox. I have the following code in ASP
<form action="opslaan.asp" method="post" name="formtest">
<%
While (Not oRS9.EOF)
teller = teller + 1
Response.Write ("<input type=text name=textfield" & teller & " value ='' size = 15 disabled>"
%>
now I want to get the focus on lets say: textfield2 (or whatever) I know it's something like:
document.formtest.textfield2.focus()
but this doesn't work, I think it's because I use name=textfield"&teller ... can someone help me?
<form action="opslaan.asp" method="post" name="formtest">
<%
While (Not oRS9.EOF)
teller = teller + 1
Response.Write ("<input type=text name=textfield" & teller & " value ='' size = 15 disabled>"
%>
now I want to get the focus on lets say: textfield2 (or whatever) I know it's something like:
document.formtest.textfield2.focus()
but this doesn't work, I think it's because I use name=textfield"&teller ... can someone help me?