User Profile
Collapse
-
Ok thank you for your help -
JavaScript Prompt will not appear...
I just starte learning to code. I had a section of HTML, and tried to insert some JavaScript into it. It goes like this:
Whenever I run it, the prompt does not work. This is what appears:Code:<script> alert("Hello there"); alert("I am the Matrix"); var name = prompt("Enter your name"); alert("Hello" + name + "."); </script>
Hello there....Last edited by Dormilich; Jul 18 '14, 05:38 PM. Reason: please use [CODE] [/CODE] tags when posting code
No activity results to display
Show More
Leave a comment: