I want to load a url with dynamically inside js file. i used below code inside the head.js file but it's not getting the url. if i use statically then it works nicely. I can't find my problem.
head.js(<?php echo base_url(); ?>"assets/js/newsticker/jquery.newsTicker.js", function() {
var nt_title = $('#nt-title').newsTicker({
row_height: 18,
max_rows: 1,
duration: 5000,
pauseOnHover: 0
});
});