I don't believe there's a removeTrigger sort of function for jqModal. The only thing I can think of to do would be to bind a click event to the element you want to trigger the modal instead of using the jqmAddTrigger() method.
So instead of: $('#data-info-div').jqmAddTrigger('a.data-info-trigger'); You could use: $('a.data-info-trigger').click( function() { $('#data-info-div').jqmShow(); }); That would give you a little more control over what happens when you click the element. Also, if the only element that is going to trigger the modal will be links with the data-info-trigger class, you could consider toggling the class on those elements based on whether or not they should trigger the modal If you could provide a link to an example page I might be able to provide a little more insight. Feel free to email me if you have any questions nofxbassist1...@gmail.com -Jim On May 18, 2:24 pm, Leandro Tuttini <ltutt...@gmail.com> wrote: > hi, > > It is possible to deactivates trigger registered ? > > I am using : > > $('#data-info-div').jqm({ > trigger: false, > modal: true, > overlay: 50 > }); > > $("#data-info-div").jqmAddTrigger("a.data-info-trigger"); > > but I cann´t find the opposed function to jqmAddTrigger() > > Dimanically I need to assign a trigger to a link, but depending the > logic I need to remove this assignation. > Is possible ? > > greetings