dialog link disappears after onclick
hello, i have this code for a dialog box,
- <script language="javascript">
function dialog() {
$("#dialog").dialog({ modal: true }).load("/;contact");
}
</script>
To contact us:
<a id="dialog" style="text-decoration: underline"
href="#" onclick="dialog()">Contact</a>
this loads the contact form correctly, but the <a href> link disappears after i have made the click.
what am i missing?
thanks