Why doesn’t my Javascript code work in a browser?

http://ift.tt/1or8HD4 been trying to code something in Javascript inside of Notebook ++ but when I open it in a web browser (Chrome or Internet Explorer), the function of the script doesn’t work. For instance: Change button/h1> This will change button Click Me! This is a demonstration. function myFunction() { document.getElementById("demo").innerHTML = "Hello JavaScript!"; } You […]

Read the full article: Why doesn’t my Javascript code work in a browser?







from MakeUseOf » Answers http://ift.tt/1DxAchm

via IFTTT

No comments:

Post a Comment

If you have any question please let me know

[TIP] New Method to Remove Rounded Corners in Microsoft Edge

In newer versions of Microsoft Edge web browser, a thick rounded border or padding is displayed around the content window i.e. browser frame...