I have a simple function to call on a specific page template. I'm calling it using this
<?php drupal_add_js(" jQuery('.row).equalize(); ","inline"); ?>
and it's using an included js library called equalize.js. Which is included like so
I receive 'jQuery(...).equalize is not a function'. but I'm assuming that's because
is being called after my inline js. This only needs to be called on one page. Is there a way to force it to run after the external js file is loaded? Or is there something else I'm missing?
Note: When I run the inline js after the page is loaded in the console in the inspector it works fine.