---------------------------------------------------
<a href="javascript:Show_('ename')">Show Content</a>
<div id="ename" style="display:none;">
<p>Javascript !</p>
<a href="javascript:Hide_('ename')">Hide Content</a>
<script>
function Hide_() {
document.getElementById('ename').style.display = "none";
}
function Show_() {
document.getElementById('ename').style.display = "block";
}
</script>
---------------------------------------------------
<a href="javascript:Show_('ename')">Show Content</a>
<div id="ename" style="display:none;">
<p>Javascript !</p>
<a href="javascript:Hide_('ename')">Hide Content</a>
<script>
function Hide_() {
document.getElementById('ename').style.display = "none";
}
function Show_() {
document.getElementById('ename').style.display = "block";
}
</script>
---------------------------------------------------
No comments:
Post a Comment