load view from javascript |
[eluser]Unknown[/eluser]
i called a controller from javascript. the last code in the controller method is $this->load->view('search',$data); so it should load the user interface on the brower. but the user interface does not display. so,may i know how to load the view file in javascript? thank you
[eluser]Phil Sturgeon[/eluser]
I take it you are trying to use AJAH here? Like AJAX, but chunks of HTML instead of XML returned. Give it a try with jQuery, easy as sin. Ajax/load - jQuery Documentation |
Welcome Guest, Not a member yet? Register Sign In |