Hi.

On Nov 5, 2008, at 1:02 AM, HiddenPhoenix wrote:


is there a difference in passing parameters to .load

$("#myDiv").load("myScript.php?var=x&var2=y&var3=z")

vs

$("#myDiv").load("myScript.php", {var:x, var2:y, var3:z})

In the first case, a GET request is performed. In the latter, the request is POSTed.


also is there a size limit to how much .load can handle? can
myScript.php return a couple hundred rows of data without issue?

You can return as much data as you want, it won't be a problem. But, adding lots of nodes to the document can be time consuming.

--
Choan

Reply via email to