随笔分类 -  javascript

javascript代码
摘要:$.ajax({ url: "http://1.1.1.1/api/v2/user/inviters", //接口 type: "post", //GET或POST data: JSON.stringify({}), //数据 headers: { 'Content-Type': 'application/json' }, //da... 阅读全文
posted @ 2017-08-07 12:45 壁虎漫步. 阅读(307) 评论(0) 推荐(0)
摘要:首 页 首页 商城 其他 我的 * { margin:0px; padding:0px; } #header { position:fixed; top:0px; left:0px; width:100%; height:50px; background:#FAA732; ... 阅读全文
posted @ 2017-08-07 12:37 壁虎漫步. 阅读(1627) 评论(0) 推荐(0)
摘要:if (typeof jQuery != 'undefined') { document.write("jquery已经被加载"); } else { document.write("jquery没有被加载"); } 阅读全文
posted @ 2017-08-07 12:23 壁虎漫步. 阅读(238) 评论(0) 推荐(0)
摘要:课程介绍 报名流程 常见问题 随着移动互联网的兴起,互联网行业正向更加智能化的Web3.0时代迈进,中国互联网行业进入了高速发展的势态,PHP语言已经为大部分企业广泛应用和重视 在jQuery迅速发展的同时,一些大的厂商也看中了商机。2009年9月,微软和诺基亚公司正式宣布支持开源的... 阅读全文
posted @ 2017-08-07 12:20 壁虎漫步. 阅读(260) 评论(0) 推荐(0)
摘要:亲,说说你在做什么,想什么 还能输入140字 h4 { color:#B1B1B1; font-weight:100; font-size:14px; } #div_editor { width:400px; border:1px solid #A9A9A9; } #div_editor textarea { borde... 阅读全文
posted @ 2017-08-07 12:18 壁虎漫步. 阅读(567) 评论(0) 推荐(0)
摘要:篮球 足球 棒球 弹力球 网球球 乒乓球 羽毛 全选 全不选 反选 获取选中的值 .btnAll button { display:inline-block; ... 阅读全文
posted @ 2017-08-07 12:14 壁虎漫步. 阅读(178) 评论(0) 推荐(0)
摘要:js 阅读全文
posted @ 2017-08-07 12:11 壁虎漫步. 阅读(1008) 评论(0) 推荐(0)
摘要:这里使用到了 $.cookie这个插件。这个插件的代码如下: 阅读全文
posted @ 2017-06-02 12:22 壁虎漫步. 阅读(3093) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-06-20 10:35 壁虎漫步. 阅读(1323) 评论(0) 推荐(0)
摘要:/* * 删除左右两端的空格 */ function Trim(str){ return str.replace(/(^\s*)|(\s*$)/g, ""); } 阅读全文
posted @ 2016-06-20 09:29 壁虎漫步. 阅读(128) 评论(0) 推荐(0)
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.o 阅读全文
posted @ 2016-02-24 10:23 壁虎漫步. 阅读(288) 评论(0) 推荐(0)
摘要:<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>根据地址查询经纬度</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <scrip 阅读全文
posted @ 2016-02-22 11:36 壁虎漫步. 阅读(339) 评论(0) 推荐(0)
摘要:载入中... 阅读全文
posted @ 2015-07-28 12:36 壁虎漫步. 阅读(158) 评论(0) 推荐(0)
摘要:Jquery的$.ajax方法可以实现ajax调用,要设置url,post,参数等。如果要提交现有Form需要写很多代码,何不直接将Form的提交直接转移到ajax中呢。 form Ajax提交 名称:密码:手机:说明:名称:密码:手机:说明:在ajaxSubmit方法调用前,可... 阅读全文
posted @ 2015-05-14 14:25 壁虎漫步. 阅读(196) 评论(0) 推荐(0)
摘要:var geolocation = new BMap.Geolocation(); geolocation.getCurrentPosition(function(r) { if (this.getStatus() == BMAP_STATUS_S... 阅读全文
posted @ 2015-05-12 17:42 壁虎漫步. 阅读(293) 评论(0) 推荐(0)
摘要:test 阅读全文
posted @ 2015-05-04 17:49 壁虎漫步. 阅读(480) 评论(0) 推荐(0)
摘要:css代码:html代码:Loading content, please wait..jquery: 阅读全文
posted @ 2015-05-04 17:41 壁虎漫步. 阅读(296) 评论(0) 推荐(0)
摘要:特色榜 大陆 港台 海外 ... 阅读全文
posted @ 2015-04-22 15:36 壁虎漫步. 阅读(188) 评论(0) 推荐(0)
摘要:效果图css样式html结构javascript封装代码调用方式 阅读全文
posted @ 2015-04-22 15:15 壁虎漫步. 阅读(253) 评论(0) 推荐(0)
摘要:console.log是什么东西,其实就是一个打印js数组和对像的函数而已,就像是php的print_r,var_dump。console.log这个函数本身没什么好说的,这篇博客告诉大家怎么去用这个函数。在说这个函数之前,我想大家用的最多查看js输出,是alert吧,但是alert,只能弹stri... 阅读全文
posted @ 2015-04-16 11:55 壁虎漫步. 阅读(4348) 评论(0) 推荐(0)