Now when I just use the code as is, it pulls the modal box up immediately upon page load. So I want to wrap it in an event. So I tried to use
$("#register").click(function() {
$(function ()
{
$("#example").modal();
});
});
When I click the link with the #id, it pulls up the box then it disappears. Any thoughts on that? If I can't get this to work does anyone else have better modal/dialog/lightbox form solutions so I can finally get this over with? Thanks in advance.