02 2016 档案

摘要:<!DOCTYPE html> <html> <body> <script> function changeImage() { element=document.getElementById('myimage') if (element.src.match("bul1")) //这里的意思是让bul 阅读全文
posted @ 2016-02-04 08:56 绝版幸福 阅读(2952) 评论(1) 推荐(0)
摘要:Jquery是优秀的Javascrīpt框架。我们现在来讨论下在 Jquery 中两个页面载入后执行的函数。 $(document).ready(function(){ // 在这里写你的代码... }); 在DOM加载完成时运行的代码 可以简写成 jQuery(function(){ }); (f 阅读全文
posted @ 2016-02-01 11:13 绝版幸福 阅读(272) 评论(0) 推荐(0)