I have a form in a jqModal dialog. When it is opened, if I click on
the dialog background or any of the form elements the modal window
closes. I cannot seem to figure out what's going on.

The page can be seen at http://www.roundscapes.com/clients.

Once you arrive click the link labelled: Click here to apply for
access to the full private tour

A jqModal dialog pops up but when you click anywhere on it the window
closes.

Does anyone have any insights on this?

JS code:
var cfLoad = function(hash) {
        hash.w.show().css({
                width:"100px",
                background:"#000000"
        });
        hash.w.load("jax/credForm.php");
        hash.w.jqmAddClose();
        var abbrev = $(hash.t).attr("title");
        $("#abbrev").val(abbrev);
        hash.w.addClass("loading");
}

        $("#credFormModal").jqm({
                modal:true,
                trigger:".credLink",
                onShow:cfLoad
        });

Reply via email to