How can I hide an element in html on Pocket Internet Explorer running on a Windows Mobile 6 device. The following code does not work even though it apears to be setting the values correctly.
function ShowCollapseElement(sLinkId, sContentId)
{
var oLinkElement;
var oContentElement;
//Get the elements
oLinkElement = document.getElementById(sLinkId);
oContentElement = document.getElementById(sContentId);
//Toggle the visibility of the content
oContentElement.style.display = (oContentElement.style.display != 'none' ? 'none' : 'inline');
//Set the link text
oLinkElement.innerText = (oContentElement.style.display != 'none' ? '-' : '+');
}