This is for a homework assignment... The page is definitely incomplete, but i should still be able to call my function with the submit button, correct?
I keep receiving errors the file cannot be found, OR the form will not process.
<!DOCTYPE HTML>
<html>
<head>
<title>Example</title>
<script type="text/javascript">
function f1(){
document.writeln("Hello");
};
</script>
</head>
<body>
<form>
Customer Name: <input type = "text" id = "cusName"/>
</p>
Delivery Date: <input type = "text" id="delDate"/>
</p>
Number of items: <input type = "text" id = "numItem"/>
</p>
<button onlick="f1();return false">Submit</button>
</form>
</body>
</html>