Welcome Guest, Not a member yet? Register   Sign In
How to show something on the right from a link on the left using Ajax
#4

[eluser]marjune[/eluser]
somethig like this

Code:
[removed]
  
$(function(){
  
   $('#menuone').click(function(){
      
      $('#display').load("<?php print base_url().'index.php/yourcontroller/controllerfunction'?>");

   });

});

[removed]

<a href = "#" id = "menuone">menu</a>


<div id = "display">


</div>


Messages In This Thread
How to show something on the right from a link on the left using Ajax - by El Forum - 06-30-2011, 05:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB