what is wrong with this code ?
what is wrong with this code ?
function getMessageText() {
return $('message').text;
}
document.body.innerHTML = '<div id="message">The message</div>';
console.log(getMessageText());
what is wrong with this code ?
Topic Participants
vvmind
jakecigar
jtara-jquery