2012年4月12日
摘要: form表单的提交,实现方法一般有:1、input type="submit"2、输入框然后直接“Enter"3、脚本form.submit().......很多情况下我们习惯输入信息后直接“Enter",操作方便,不用再去拿鼠标点来点去。这个时候,有些问题就来了,“Enetr"后,表单没有提交:一、单纯输入框:这是可以提交的表单:<form action="" method="post" name=""> <label for="A">用户 阅读全文
posted @ 2012-04-12 13:07 不知道用什么名字 阅读(5111) 评论(1) 推荐(0) 编辑
摘要: jQuery.cookie = function (name, value, options) { if (typeof value != 'undefined') { options = options || {}; if (value === null) { value = ''; options.expires = -1; } var expires = ''; if (options.expires && (typeof options.expires == 'num... 阅读全文
posted @ 2012-04-12 10:47 不知道用什么名字 阅读(769) 评论(0) 推荐(0) 编辑