I'm trying to echo my base url with my CI application in my main js file as so:
var url = "<?php echo base_url('association/') ?>" + $(this).attr("id");
and what I end up with is this:
<?php echo base_url('association/') ?>120
What am I doing wrong?