Interstitial, Insider JavaScript

IMV_Ints.InterstitialInit = function(){ var aan=$('#aan'); var nam=$('#insname'); if(nam){ var rgx = /^[aeiou]/i; if(aan && rgx.test(nam.text()) ){ aan.text('an'); } } }; IMV_Ints.InterstitialEnd = function () { $('#dvNo').click(function () { var id = this.getAttribute('data-id'); $.ajax({ url : 'imvapi/display/insideropt/' + id + '?OptOut=true', type : 'GET', dataType : 'text', contentType : 'application/x-www-form-urlencoded; charset=UTF-8', cache : false, success : function (result, textStatus, jqXHR) { //alert('success!' + textStatus); } }).done(function (data) { //alert('done!') }); IMV_Ints.InterstitialClose(); }); };
Page 1 of 103
Next Page