If you bound it with a click, you can just unbind it...

http://docs.jquery.com/Events/unbind#typedata

Something like:

$("#trigger").click(function () {
    $("#dialog").jqm();
    $("#trigger").unbind("click");
});

On Oct 24, 4:54 am, vanwil <[EMAIL PROTECTED]> wrote:
> Hi there!
>
> Quick question: obviously it is possible to attach jqModal to an
> element, but IS IT POSSIBLE TO DETACH JQMODAL FROM THAT ELEMENT LATER?
>
> Let me be more explicit about this: say you want a window to pop-up
> when you click a link. So you attach jqModal to the link. OK, all
> fine! But, say you dont want that to happen more than once. You just
> want the window to appear when the user clicks the link for the first
> time. After that, you would like for nothing to happen when the user
> clicks that link again. How do you detach the jqmodal from the link?
>
> Thanks :-)

Reply via email to