[jQuery] get a whole html page in a .getJson call
Hi there,
I use an architecture where I call a server script and it allways
returns me a json containing some commands to be executed on js. But
sometimes I have to send the client pieces of html or even a complete
page. Is that possible to pass a complete page into .getJSON call ?
What sould be the implications of this?
Is it slower then the .load method ?
Actually I still use the .load method in some places, but it would
make a much cleaner interface to just receive json, for every message
types, including html to be substituted.
Thanks in advance,
Bruno