InputBox

is there Javascript function similar to "InputBox" in VBScript?
nidroksAsked:
Who is Participating?
 
sajuksCommented:
<script type="text/javascript">
<!--

var answer = prompt ("What is your name ?","")
alert ("Hello there, " + answer)

// -->
</script>
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.