Thursday, May 28, 2009

[jQuery] How to "Remove" attached jQuery Plugin from element. (aqLayer Plugin)

Hi everybody,

Thanks for your help in advance ...

I have attached and aqLayer to an element like such ...

$('#prvt_days_cell').aqLayer({closeBtn:true})
.dblclick(function(){
$(this).aqLayer('Validation: If there is private kilometers,
there must be private days.');
});

Now at a later stage i need to remove this aqLayer from the element.
Any ideas?

Help is much appreciated.

Thanks.

No comments: