Is there a difference in passing parameters to .load
$("#myDiv").load("myScript.php?var=x&var2=y&var3=z")
vs
$("#myDiv").load("myScript.php", {var1:x, var2:y, var3:z})
Also, is there a size limit to how much .load
can handle? Can
myScript.php
return a couple hundred rows of data without issue?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…