almComplete not firing
-
Went to a same topic which was resolved but didn’t say how it got resolved
<script>
jQuery(function($) {
console.log(“Fires!”);
$.fn.almComplete = function(alm){
console.log(“Doesn’t fire”);
};
});
</script>originally the code was
$(function() {
$.fn.almComplete = function(alm){
if(wpcf7){
wpcf7.initForm( $(‘.wpcf7-form’));
}
};
})(jQuery);but for some weird reason this:
$(function() {
//codes here
})(jQuery); //returns (index):825 Uncaught TypeError: $(…) is not a function
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘almComplete not firing’ is closed to new replies.