I am trying to use the jQuery UI to bring up a dialog modal. I am using it in conjuction with CodeIgniter and HTML5Boilerplate.
In a normal, blank html page, I can get the dialog code to work (just importing the css and jquery scripts from google.
In the CodeIgniter view, it doesn't work. The entire output is here: http://pastebin.com/5e2PfE14
The script that I am using, in my scripts.js file is:
$(function() {
$( "#dialog" ).dialog();
});
The imports are working fine, so what could be the issue?
Thanks!
Include all javascript and css files by <link rel="stylesheet" href="<?php echo site_url('css/style.css'); ?>" />
and if you use apache mod_rewrite for removing index.php check rules (maybe something disallow your javascript, css or images). Also check in your config file whether $config['base_url'] is set .