Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changed HTML element not displaying
Message
General information
Forum:
Javascript
Category:
Troubleshooting
Miscellaneous
Thread ID:
01624376
Message ID:
01624406
Views:
57
>I have a ASP page that uses JavaScript to displays a DIV block. But when the Display="Block" it does not appear. is there a DOM method I can call to force the DIV to appear? Or is there some META (or something) that needs to be set.
<div id="MyDiv" style="display:none">I'm not visible by default</div>

<script>
function makeVisible() {
     document.getElementById("MyDiv").style.display="block";
}
</script>
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform