jquery.js:2 Uncaught TypeError: $(...).magnificPopup is not a function code example Example: magnificpopup is not a function pass $ in $(document).ready(function ($)