hey,
I am working with the jqModal and I am trying to set a button in the frame
to close it.  This is what I got:

        $('.jqmWindow').jqm({
                trigger: elem,
                ajax: $(elem).attr('href'),
                overlayColor: '#fff',
                overlay: 30 
                },
                function(h){
                        $('#cancel_bt').click(function(){
                        $(this).jqmClose();});
                        h.w.show();
                },
                function(h){
                        h.w.jqmClose();
                });

The button is set up like so:

<button id="cancel_bt">cancel</button>

and the page is being pulled in via ajax.

Thanks
-- 
View this message in context: 
http://www.nabble.com/jqModal-and-closing-tf3227630.html#a8966150
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to