DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript variable
var
user_name
=
prompt
(
"Please enter your name:"
,
"Type here"
)
;
alert
(
"Hello "
+
user_name
)
;
PREVIOUS
NEXT
Tagged:
#javascript
#variable
ADD COMMENT
Topic
COMMENT
Name
3+7 =
Submit