I’m trying to learn JQuery and I stumble upon this script in one of the plugins in the repository that is similar to this.
var DOMChange = {
textchange: function(eID) {
$('document').ready(function() {
$('eID').text("test3");
});
}
}
DOMChange.textchange('p');
I can’t seem to get this working. Is there something missing here?
Thanks.
Try this: