This is the only way to do it unless you want to try and pass your variable to some client-side script and set the text box value to your variable value, but that doesn't make a whole lot of sense.
<input type="text" name="myTextbox" value="<%=myVariable%>">
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.