/** *参数说明: url:下载地址,val:需要提交的参数值,具体类型和个数自行扩展 * 参数可以用obj = {url:""",val1:"111",val2:"222",...}这样的 格式,也可以用(url,val1,val2....)根据自己喜好来 */ function ajaxPostLoadFile(url,val){ var form = $("<form>");//定义一个form表
document.URL vs window.location.href All In One document.URL 与 window.location.href 两者有啥区别 document.URL; window.location.href; ??? 啥区别 兼容性 不同 https://caniuse.com/?search=document.URL https://caniuse.com/?search=window.location.href Document API https