title: jquery-mobile + codeigniter
body: <p>What must be the problem with this code:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
          &lt;title&gt;&lt;?php echo $title; ?&gt;&lt;/title&gt;
          &lt;?php 
              echo link_tag('assets/css/jquery.mobile-1.3.2.min.css', 'stylesheet');
              echo script_tag('assets/js/jquery-1.10.2.min.js'); 
              echo script_tag('assets/js/jquery.mobile-1.3.2.min.js'); 
          ?&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;div data-role="page"&gt;
              &lt;header data-role="header"&gt;
              &lt;a href="#navigation" data-role="button"&gt;Show&lt;/a&gt;
              &lt;h3&gt;&lt;?php echo $title; ?&gt;&lt;/h3&gt;
              &lt;div data-role="controlgroup" data-type="horizontal" class="ui-btn-right"&gt;
                  &lt;a href="#" data-role="button"&gt;My Account&lt;/a&gt;
                  &lt;a href="&lt;?php echo site_url();?&gt;login" data-role="button"&gt;Logout&lt;/a&gt;                  
              &lt;/div&gt;      
          &lt;/header&gt;
  </code></pre>
  
  <p>I'am using jquery mobile for my client-side script and PHP(codeigniter) for server-side script.
  When I refresh the page after including the  in anchor the page now doesn't display the page anymore.</p>
  
  <p>Can anyone tell what's wrong with the code or I'am just missing something. </p>
  
  <pre><code>&lt;?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
      class Event_management_c extends CI_Controller {
          public function __construct() {
               parent::__construct();
               $this-&gt;load-&gt;helper('html', 'url', 'form');
          }
  
          public function index() {
              $data['title'] = 'Events';
              $data['reply_title'] = 'Reply Message';
  
              $this-&gt;load-&gt;view('fragments/header', $data);
              $this-&gt;load-&gt;view('fragments/nav', $data);
              $this-&gt;load-&gt;view('events/index', $data);
              $this-&gt;load-&gt;view('fragments/footer', $data);
          }
       }
      ?&gt;
  </code></pre>