I am using php & jquery. I use ajax calls to load some huge html content got from some other php page. As it gets slower as time goes, i understood that the problem is that , I have to return the result as JSON. The HTML content is of a table of some html contents and some events inside it
but how should i do this. anything spl needed ?
In your PHP page that returns the html content, you can do this:
In the javascript, you could do something like this: