Welcome Guest, Not a member yet? Register   Sign In
Auto refresh particular div using jquery or AJAX
#2

[eluser]CroNiX[/eluser]
Javascript runs in the clients browser. It doesn't know php.

Use ajax to periodically send a request to the server via POST. In the controller/method that the ajax request is calling, return the desired view. Then, in the success event of the ajax call, show the returned HTML in your div.


Messages In This Thread
Auto refresh particular div using jquery or AJAX - by El Forum - 07-26-2012, 08:44 PM
Auto refresh particular div using jquery or AJAX - by El Forum - 07-27-2012, 12:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB