To simplify my problem with the jqModal window not showing.  If I
declare a trigger in the parameter it works but if I try to manually
do a jqmShow() it doesn't work.
This doesn't work for me:
<script type="text/javascript">
        $(document).ready(function () {
                $(".modal_box:first").click(function(){
                        $('#ex4').jqm({
                                ajax: '@href',
                                target: ".jqmdMSG",
                                trigger: false;
                                modal: true,
                                overlay: 30,
                                overlayClass: 'whiteOverlay'
                                }).jqmShow();
                        return false;
                }
        });
</script>

This works:
<script type="text/javascript">
        $(document).ready(function () {
                var t = $(".modal_box:first");
                $('#ex4').jqm({
                        ajax: '@href',
                        target: ".jqmdMSG",
                        trigger: t,
                        modal: true,
                        overlay: 30,
                        overlayClass: 'whiteOverlay'
                        });
        });
</script>

Reply via email to