[eluser]blitzneo[/eluser]
I'm trying to load a template, based on a select box using JQuery. It is tested and working without using CI, but if include this javascript inside CI, it shows no error, but it doesn't work.
This is what the code looks like:
$(document).ready(function() {
$("select").change(function(){
$("#box").load('template.php');
});
});
Am I missing some important configuration ? Shall I add complete url to the template file ? I don't really understand this issue..
Thanks =)
**Edit: sorry.. I just realized this wasn't the right thread to post.. cannot delete this and move it :/