using a jAlert(), is there somehow a way to find out when the user has
clicked the ok button?

I saw the
$("#popup_ok").focus().keypress( function(e) {
        if( e.keyCode == 13 || e.keyCode == 27 ) $("#popup_ok").trigger
('click');
});

and I added

$("#popup_ok").live('click', function(e) {
    if( (!$.browser.msie && e.button == 0) || ($.browser.msie &&
e.button == 1) ) {
        $("#popup_ok").trigger('click');
    }
});

But in my file it wont do this:
$("#popup_ok").click( function (){
     alert("done");
});

And I don't get the mistake.....?
Anybody any ideas ...?

Reply via email to