I have a question about Gedit. I am trying to learn JavaScript. I went to http://www.w3schools.com/js/ and tried the Date and Time example.
Date and Time example code:
Source: http://www.w3schools.com/js/tryit.asp?filename=tryjs_myfirst
<!DOCTYPE html>
<html>
<body>
<h1>My First JavaScript</h1>
<button type="button"
onclick="document.getElementById('demo').innerHTML = Date()">
Click me to display Date and Time.</button>
<p id="demo"></p>
</body>
</html>
After a while I copied and pasted the script into Gedit and found that it didn't work the way that it did on the W3Schools website. I am able to see something in the browser, but it does nothing when I click the button. Here is a screenshot of what I see:
The pop-up blocker is off, and I don't know what else to do. Are there some plugins that I could use to change this? I don't need anything fancy, I really like Gedit for the most part, I would just like to be able to use it for all my coding needs. All I have learned so far is HTML and CSS.
gedit
has nothing to do with your problem.