Is there any way to prevent the prompt boxes having this default entry?
yes, use: var name1=prompt("Please enter first name?", "");
If there is "undefined" it means something can be defined and you did not define it.
So all you have to do is define it. When in doubt Google for a tutorial
Link to original question: 4427
Return to the: