I want to call other views in single controller function and want to change one view on clicking the link.
For example when I click the about_us link it should be open the about_us and when I click on contact_us link it should be replaced with about_us view but whole views remain same using jQuery and ajax.I don't know about jQuery and ajax. How it possible to do this?
My view code is
<ul>
<li class="active"><a href="<?php echo site_url() ?>/about_us">About Us</a></li>
<li><a href="<?php echo site_url() ?>/contact_us">Company Profile</a></li>
<li><a href="<?php echo site_url() ?>/faq">Why Choose Jan Japan</a></li>
my controller is
class Home extends CI_Controller
{
$this->load->view('include/header');
$this->load->view('top_strip');
$this->load->view('top_menue);
$this->load->view('about_us');
$this->load->view('footer');
}