Jump to content

[SOLVED] Something about no properties???


Recommended Posts

<!--
function toggleDisplay(which)
{
var myId = document.getElementById('news1');

if (myId.style.display=="block")
{
	myId.style.display="none";
}
else if (myId.style.display=="none")
{
	myId.style.display="block";
}
}
-->

Above is an external javascript file I included in the head of my html document

 

Whenever I try to execute the function in Firefox it comes up with "myId has no properties" and the script will not work. For all code go to http://ictonentertainment.com/wamboldt/newicton/

and look at the source

 

PLEASE NOTE: THIS SITE IS NOT COMPLETE AND THE CSS IS TEMPORARY AND SUCKS

 

Link to comment
https://forums.phpfreaks.com/topic/50059-solved-something-about-no-properties/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.