DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
pass text and variable in alert javascript
var name = "John Doe"; function myFunction() { alert('Hello ' + name); }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#pass
#text
#variable
#alert
#javascript
ADD COMMENT
Topic
COMMENT
Name
5+1 =
Submit