How to include jquery, jquery-ui-core and https://www.paytabs.com/theme/express_checkout/js/jquery-1.11.1.min.js in wordpess. I get an error "Uncaught TypeError: jQuery(...).UItoTop is not a function". Here's a piece of code:
function magikCreta_load_jquery(){
wp_enqueue_script('jquery');
wp_enqueue_script('jquery-ui-core');
wp_enqueue_script('jquery-ui', 'https://www.paytabs.com/theme/express_checkout/js/jquery-1.11.1.min.js', array('jquery-ui-core'));
}
<?php echo '<script>
jQuery(document).ready(function($){
Paytabs("#express_checkout").expresscheckout({
});</script>';
jquery-1.11.1.min.jsfile is just jQuery, not jQuery-UI? Loading a second jQuery nukes any previously loaded plugins