摘要: 换成:用$("#myBtn").click(function(){...//判断验证});表单提交js:function formSubmit(){if(flag=="1"){$("#form").submit();}else if(flag=="2"){$("#form").attr("actio... 阅读全文
posted @ 2014-06-12 18:53 mabel_on_line 阅读(501) 评论(0) 推荐(0) 编辑
摘要: var bgWidth = document.body.clientWidth + "px", bgHeight = document.body.clientHeight + "px", 阅读全文
posted @ 2014-06-12 11:10 mabel_on_line 阅读(462) 评论(0) 推荐(0) 编辑