Get and JQuery .load
This question already has an answer here:
Try encodeURIComponent:
var encodedValue = encodeURIComponent($("#searchbox").val());
$("#resultarea").load("searchresults.php?searchstring=" + encodedValue);
Source
Demo
链接地址: http://www.djcxy.com/p/26532.html上一篇: 更改网址友好
下一篇: Get和JQuery .load