摘要: 定义: Element.Events.keyenter = { base: 'keyup', condition: function(e){ // We can basically put any logic here. // In this example we return true, when the pressed key is the // Enter-Button so the ... 阅读全文
posted @ 2010-01-05 13:17 kid的笔记本 阅读(192) 评论(0) 推荐(0) 编辑
摘要: GET是通过URL传给服务器的,POST是通过HTTP头传给服务器的,post的数据是不跟在请求的url后,而是在http头中,get是在url中post的安全性比get高,因为有的服务器会缓存get数据,post数据不会被缓存,而且当你再次刷新提交结果时,浏览器会弹出安全提示对话框。另外,get和post有一些数据格式的区别,比如说上载文件,你只能使用post方法,并且enctype只能设置成m... 阅读全文
posted @ 2010-01-05 09:33 kid的笔记本 阅读(4662) 评论(1) 推荐(0) 编辑