摘要: 当元素的值发生改变时,会发生 change 事件。 change() 函数触发 change 事件,或规定当发生 change 事件时运行的函数。 语法: 阅读全文
posted @ 2018-03-27 16:19 lsbaiwyl 阅读(31588) 评论(0) 推荐(1) 编辑
摘要: <div> <input type="hidden" name="news_id" value="1"/> <a href="javascript:void(0);" class="newsclick"></a> </div> <script> $('.newsclick').click(funct 阅读全文
posted @ 2018-03-27 16:08 lsbaiwyl 阅读(208) 评论(0) 推荐(0) 编辑