sftl99
07-01-2005, 04:32 PM
I have a javascript that recalls a number from a text file and displays it. What I want to do is have that number display in the "QuoteNumber" text box by default.
Go to www.jasonpcarroll.com/this.html to see what I'm talking about.
Can I get that text box to automatically populate with the number that is recalled by <script language="Javascript">ccount_display('1')</script>?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Quote Form</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="Javascript" src="http://www.jasonpcarroll.com/allcomponents/ccount/display.php">
<!--
//-->
</script>
</head>
<body>
<form name="quoteform" method="POST">
QUOTE #:
<script language="Javascript">ccount_display('1')</script>
<br>
<input name="QuoteNumber" type="text" id="QuoteNumber3" value="Quote Number" size="15" onFocus="hlight(this)">
<br>
<input type="submit" value="Submit Form" name="submit" class="sbttn">
<input type="reset" name="Reset" value="Reset Form" class="sbttn">
</form>
</body>
</html>
Go to www.jasonpcarroll.com/this.html to see what I'm talking about.
Can I get that text box to automatically populate with the number that is recalled by <script language="Javascript">ccount_display('1')</script>?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Quote Form</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="Javascript" src="http://www.jasonpcarroll.com/allcomponents/ccount/display.php">
<!--
//-->
</script>
</head>
<body>
<form name="quoteform" method="POST">
QUOTE #:
<script language="Javascript">ccount_display('1')</script>
<br>
<input name="QuoteNumber" type="text" id="QuoteNumber3" value="Quote Number" size="15" onFocus="hlight(this)">
<br>
<input type="submit" value="Submit Form" name="submit" class="sbttn">
<input type="reset" name="Reset" value="Reset Form" class="sbttn">
</form>
</body>
</html>