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> Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.