<div data-test="-title&^%^&" class="primary-title"> PROJECT NAME | SITE NAME </div>
var divs = document.getElementsByClassName('primary-title'); console.log ("got divs", divs[0]); var text = divs[0].innerhtml; /* returns undefined */ I'm trying to extract "PROJECT NAME" and "SITE NAME" from the <div>. above. innerhtml returns "undefined".... I'm a nooB so I'm obviously missing something....what ? help ? -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to greasemonkey-users+unsubscr...@googlegroups.com. To post to this group, send email to greasemonkey-users@googlegroups.com. Visit this group at https://groups.google.com/group/greasemonkey-users. To view this discussion on the web visit https://groups.google.com/d/msgid/greasemonkey-users/a265a280-f371-4524-9822-d7a6ef7a7ca0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.