Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Random Number

Status
Not open for further replies.

jmiller79

Programmer
Jul 13, 2004
48
US
I need to display a random 4 diget number in a Textbox field.I know javascript, but how do I put the number in the field. Thanks for any help
 
Well you could do it on the server side like this:

<input type='text' name='foo' value='<% Response.Write yourVarHere %>'>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top