cturner Posted July 23, 2007 Share Posted July 23, 2007 The title should explain it all. I have a lot of code so I have posted only the line that the error is on. If you need to see more I post some more. So can someone please help me solve that error? Thanks in advance. var regidtype = document.getElementById('regidtype').value; regidtype.style.visibility = "visible"; // this is where the error is <div class="regidtype" id="regidtype">Registrant ID Type:</div> Link to comment https://forums.phpfreaks.com/topic/61438-style-is-not-or-not-an-object/ Share on other sites More sharing options...
nogray Posted July 23, 2007 Share Posted July 23, 2007 the style is a property of the object, not the value remove the .value fromt he var regidtype Link to comment https://forums.phpfreaks.com/topic/61438-style-is-not-or-not-an-object/#findComment-305778 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.