How do i use html forms in the same way as prompts?
I want to do something like this:
Code:
<html>
<head>
<script type="text/javascript">
var cpu= prompt("What brand of CPU would you like?");
var ram= prompt("What brand of RAM would you like?");
var hdd= prompt("What brand of Hard Drive would you like?");
</script>
</head>
<body>
<script type="text/javascript">
document.write("The brand of CPU I want is "+cpu);
document.write("<br> The brand of RAM I want is "+ram);
document.write("<br> The brand of Hard Drive I want is "+hdd);
</script>
</body>
</html>
But instead of having a notification box, I want a form.
Is this possible? I dont like how it pops up...
|