how to get notepad++ to render a Javascript script?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alex churchill
    New Member
    • Jan 2011
    • 2

    how to get notepad++ to render a Javascript script?

    I am using notepad++ and when i run the file it simply pastes the file in the browser how can i get it to actually run the script?

    Code:
    <html>
    <head>
    	<title>MyScript</title>
    	<Script Type="text/javascript">
    	alert("hello world");
    	// string: "hello world"
    	</script>
    </head>
    <body>
    </Body
    </html>
  • JKing
    Recognized Expert Top Contributor
    • Jun 2007
    • 1206

    #2
    If you have saved your file as an html file you should be able to do a Run > Launch in Firefox.

    Your closing body tag is malformed by the way.

    Comment

    • alex churchill
      New Member
      • Jan 2011
      • 2

      #3
      thanks man i amm new as you can probably tell

      Comment

      Working...