Y
Yusuf Haroon
Hi,
I have the following piece of code that works on the Desktop IE and not
PIE.
<html>
<script type="text/javascript">
function newTitle()
{
var layer1;
layer1=document.all["sec1"];
if
(layer1.innerHTML!=""){layer1.innerHTML=""}else{layer1.innerHTML="displaytex
t"};
}
</script>
<a href="javascript:void(0);" onClick="newTitle()">test link</a>
<div id="sec1"><br></div>
sometext
</html>
All it is supposed to do is hide and show text on the link click event.
Any suggestions on how I can get it to work in PIE and ultimately the
opennetcf htmlviewer control (and if not possible any suggestions on
alternative methods)?
Thnx.
Yusuf
I have the following piece of code that works on the Desktop IE and not
PIE.
<html>
<script type="text/javascript">
function newTitle()
{
var layer1;
layer1=document.all["sec1"];
if
(layer1.innerHTML!=""){layer1.innerHTML=""}else{layer1.innerHTML="displaytex
t"};
}
</script>
<a href="javascript:void(0);" onClick="newTitle()">test link</a>
<div id="sec1"><br></div>
sometext
</html>
All it is supposed to do is hide and show text on the link click event.
Any suggestions on how I can get it to work in PIE and ultimately the
opennetcf htmlviewer control (and if not possible any suggestions on
alternative methods)?
Thnx.
Yusuf