Hello,
I added a new jquery framework to display confirmation messages in the choices theme and I get an error
Here is the script that I added (to reproduce the problem)
(function($){
$.confirm = function(){
alert('confirm');
}
$.confirm.hide = function(){
alert('confirm hide');
}
})(jQuery);
Each time I call $.confirm() I get an error that the confirm method does not exist.
If I remove the references to
<script type='text/javascript' src='/Content/themes/choices/js/avia.js'></script>
<script type="text/javascript" src="Content/themes/choices/js/avia_styleswitch.js"></script>
My confirm method works just fine.
So my guess is that the avia framework does something to jquery, so that other components cannot register extension methods
Do you know what it might be ?
If the question is not clear, I will try to elaborate, let me know.
Thank you,
Andrei Gavrila














