View Single Post
Old 03-23-2004, 02:49 PM   #11
hot_pastrami
I am meaty
 
Join Date: Dec 2001
Location: Salt Lake City, UT
Posts: 1,119
Quote:
Originally posted by Radar
Based on your information I thought I could input a string and have it printed on the screen. Just like the old "Hello World" program but with the text inputted by a user. The problem is while it seemingly inputs text, there is no output.
You're very close... try this:
Code:
var noun = prompt("Enter a noun", "dog");
document.write(noun);
__________________
Hot Pastrami!
hot_pastrami is offline   Reply With Quote