SO - 17778388
by Arun P Johny
HTML
<body>
<p> This is a test JQuery Page</p>
<button id="pressMe"> Press Me! </button>
</body>
JavaScript
$("button").on("click", function () {
$("p").text("this text will now appear!!")
});
by Arun P Johny
<body>
<p> This is a test JQuery Page</p>
<button id="pressMe"> Press Me! </button>
</body>
$("button").on("click", function () {
$("p").text("this text will now appear!!")
});