$(document) refers to the whole document.
$(document).on('click', "#click", function () {
$('#click').css({
"background-color": "#fff",
"color": "#000",
"cursor": "inherit"
}).text("Open this window again and this message will still be here.");
return false;
});
No comments:
Post a Comment