Javascript "--- Is Not Defined" Error
I have this function 'resizePortfolio' and I call it later by doing 'resizePortfolio();' But the console says 'Uncaught ReferenceError: resizePortfolio is not defined.' It's to ma
Solution 1:
Make sure the call:
$(window).on("resize", resizePortfolio);
is inside the $(document).ready(function() {...})
body, because the scope of the function name is just that function.
Post a Comment for "Javascript "--- Is Not Defined" Error"