[eluser]hvalente13[/eluser]
You have to put it in <head></head>, in your html file!
In Derek Allard's blog, he has one video tutorial for ajax.. But he gives some hints and tips that we can use like the $data['extraheader'] and in our views we put it like this:
Code:
<head>
<title>My Page</title>
<?=(isset($extraheader))?$extraheader:''?>
</head>
We can had things in our controller to the head tag by assining like this:
Code:
$data['extraheader'] = "[removed]
function some_function()
[removed]";
Hope this helps