I have some html code that works in IE on the desktop and not on the
handheld. I'm trying to change the displayed text of a link dynamically.
Here's the code:
<html>
<body>
<a id="a1" href="javascript:void(0);" onClick="newTitle(sec1,a1)">test
link</a>
<div id="sec1"><br></div>
sometext
<script language="JScript">
function newTitle(layer1,link1)
{
if(layer1.innerHTML!="")
{layer1.innerHTML="",link1.innerText="1"}
else
{layer1.innerHTML="displaytext"};
}
</script>
</body>
</html>
Was wondering if this is supported in PIE or whether there was another way
to do it. One that did not include putting a div section around the <a href>
to change it. Thnx.
Yusuf