Thursday, December 22, 2011

crossbrowser InnerText

function getInnerText(o)
{
return o.textContent ? o.textContent : o.innerText
}

No comments: