Jump to content

Click link, form displays on page


BrianM

Recommended Posts

<script type="text/javascript">
function change(ele) {
element = document.getElementById(ele);
(element.style.display == "block") ? element.style.display = "none" : element.style.display = "block";
}</script>

<div onclick="change('below')">
<a href="javascript:void(0)">Click here to show the form</a>
</div>

<div id="below" style="display:none; ">
<br><br>The form like goes here
</div>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.