Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changed HTML element not displaying
Message
Information générale
Forum:
Javascript
Catégorie:
Dépannage
Divers
Thread ID:
01624376
Message ID:
01624406
Vues:
55
>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform