In CodeIgniter, how To display a view page in a particular div element : I am working on a project using codeIgniter. I got stuck in a UI part. I need to display a view page inside a div element, but instead of displaying in the div either it is getting displayed in the new tab or nothing is working.

<!-- begin snippet: js hide: false console: true babel: false -->

<!-- language: lang-js -->

    <script type="text/javascript">
      $('.aboutus').click(function(){
         $('#about').load('controller/method');

    });</script>

<!-- end snippet -->

Can anyone provide me the solution for this ?



