上一页 1 ··· 115 116 117 118 119 120 121 122 123 ··· 125 下一页
摘要: CSS选择器及其继承特性、层叠特性1.基本选择器 标记 id class 这个就不再作介绍了 2.复合选择器 交集 交集选择器由两个选择器直接连接构成,其结果是选中二者各自元素范围的交集 其中第一个必须是标记选择器,第二个必须是类别选择器或者ID选择器,须连续书写 如,div.class 并集 并集 阅读全文
posted @ 2017-08-13 09:45 ThisCall 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 声明变量 var $variable= Jquery 对象; var varibake= DOM对象; var $cr= $("#id"); Jquery 对象; var cr= $cr.get(0) DOM对象;$cr.get(0)此处与 $cr[0] 等同 var cr=document.get 阅读全文
posted @ 2017-08-13 08:44 ThisCall 阅读(198) 评论(0) 推荐(0) 编辑
摘要: <?php //测试用的数组 $info = array('11'=>'aaa', '22'=>'bbb', '33'=>'ccc'); //第一种,将整个数组作为一个对象输出,DEBUG专用 echo '<br> <br>'; var_dump($info); //第二种,foreach,只能输入 阅读全文
posted @ 2017-08-11 19:42 ThisCall 阅读(349) 评论(0) 推荐(0) 编辑
摘要: const http = require("http");const express = require("express");const mysql = require("mysql"); var pool = mysql.createPool({ host:'127.0.0.1', user:' 阅读全文
posted @ 2017-08-10 17:20 ThisCall 阅读(203) 评论(0) 推荐(0) 编辑
摘要: //处理客户post请求//*1:加载相应模块 http express querystring//*2:创建web服务器//*3:监听端口8080const http = require("http");const express = require("express");const qs = r 阅读全文
posted @ 2017-08-10 17:05 ThisCall 阅读(336) 评论(0) 推荐(0) 编辑
摘要: //1:加载相关模块 http express mysqlconst http = require("http");const mysql = require("mysql");const express = require("express");console.log(1);//2:创建连接池va 阅读全文
posted @ 2017-08-10 16:24 ThisCall 阅读(221) 评论(0) 推荐(0) 编辑
摘要: //1:加载http express框架//2:创建服务器const http = require("http");const express = require("express");var app = express();var server = http.createServer(app);s 阅读全文
posted @ 2017-08-10 15:52 ThisCall 阅读(1373) 评论(0) 推荐(0) 编辑
摘要: const http = require("http");const express = require("express");//3:创建express应用//4:创建服务器var app = express();//Express本质是一个处理请求函数var server = http.crea 阅读全文
posted @ 2017-08-10 15:27 ThisCall 阅读(273) 评论(0) 推荐(0) 编辑
摘要: //1:加载相应的模块 http url fs mysqlconst http = require("http");const url = require("url");const fs = require("fs");const mysql = require("mysql");//2:创建连接池 阅读全文
posted @ 2017-08-10 14:36 ThisCall 阅读(1889) 评论(0) 推荐(0) 编辑
摘要: const mysql = require("mysql");var conn = mysql.createConnection({ host:"127.0.0.1", user:'root', password:'', database:'jd', port:3306});//2:发送sql//c 阅读全文
posted @ 2017-08-10 13:06 ThisCall 阅读(149) 评论(0) 推荐(0) 编辑
上一页 1 ··· 115 116 117 118 119 120 121 122 123 ··· 125 下一页