HTML:
HTML Code:
<script src="stock.js" type="text/javascript">document.write(quantity_in_stock_S);</script>
Javascript (stock.js):
Code:
var quantity_in_stock_S = 10
I am wanting the HTML to print out the number 10 but it doesn't seem to be working. Any ideas?