Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.41K
Hey all I'm a student and I need to check a div's class. This seems like it should work but it's not... Help please! :) <script type="text/javascript"> function findout() { alert('function works'); var var1 = document.getElementById("div1").className; if (var1.value == "special") { alert("div1 has special as a style"); document.getElementById("div1").className = ''; … |