Originally Posted by maximus350zx
var nam=prompt("Please enter your name","name");
My company has Dreamweaver CS6 licenses so I can install it on my work computer and may use this to create a nice form for my web site and have my user input come from a form rather than a prompt.
I am not sure exactly what you mean, but to start with in this century prompt() is not a suitable way of getting user input.
Dreamweaver is not well thought of around here (use the search feature). It produces bloated, poorly-written and old-fashioned code. Forget it!
All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.