Can someone help me find why I'm getting an unexpected , expecting ;? [closed]-Collection of common programming errors
I’m not sure why I’m getting this error, as I can’t see anything wrong with my eyes.
In NetBeans on Line 9 I’m getting “Expected , but found ;”
jQuery(document).ready(function($){
$(".scroll").click(function(event){event.preventDefault();
$('html,body').animate({scrollTop:$(this.hash).offset().top},500);
});
$("#accordion".accordion({
collapsible:true,
active:false,
heightStyle:"content"
});
$("#menu-mobile img").click(function(){
$('nav ul.menu').toggleClass("show");
});
$("#signup").click(function(){
$(".members-form-wrapper#new-user").slideDown("slow");
});
$('#postcode').on('change',function(event){if(inputHasContent($(this))){
$('.details').show();
}else{
$('.details').hide();
}
});
});
I’m trying desperately to minify the load time on my wordpress install and encountering errors when i try to improve.
Something just tells me, that this is something really simple… but I just can’t see it. Any help appreciated!