摘要:
常用的JavaScript Array对象总结 pop(): <script type="text/javascript"> var arr = new Array(2)arr[0] = "first"arr[1] = "second" document.write(arr) document.wr 阅读全文
摘要:
jquery中的ajax方法参数总是记不住,这里记录一下。 1.url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。 2.type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和delete也可以使用,但仅部分 阅读全文