[jQuery] I'm having problems making a div show up when I load the page
I'm using jqModal..
I simply want an email subscription list to pop up when the page is
loaded here's what I've got.
<script type="text/javascript">
$(document).ready(function() {
$('#dialog').jqm();
});
</script>
<a href="#" class="jqModal">view</a> <-------------that is a link... I
don't want to use a manual link to open up the div
<div class="jqmWindow" id="dialog">
<a href="#" class="jqmClose">Close</a>
Please Sign up for our mailing list:
<div style="height:300px;"><form action="/email.php" method="post">
<input type="hidden" name="subject" value="Form Submission" />
<input type="hidden" name="redirect" value="thankyou.html" />
First Name:<input type="text" name="firstname" />
Last Name:<input type="text" name="lastname" />
E-Mail:<input type="text" name="email" />
<textarea name="comments" cols="40" rows="6">
Type comments or questions here.</textarea>
<div align="right"><input type="submit" name="submit" value="submit"/