- 博客(3)
- 收藏
- 关注
转载 前端模糊查询,可编辑,可选择的搜索框实现
为了减少ajax请求,提高用户体验,对于一些信息量不大的模糊查询,可以前端实现,简单看下效果: 下面直接上代码: html代码,需要有如下的页面结构和属性 <div class="wyInput" id="myInput"> <div class="wyinput-group"> <input type="t...
2017-11-17 17:02:00
1353
转载 Node.js实现Web解析DNS
实现效果如下,当输入域名后,页面会返回对应域名的IP, 实现过程如下,创建index.html,代码内容如下: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>DNS查询</title></head><b...
2017-09-26 12:01:00
209
转载 nodejs入门--简单的请求处理案例
首先,让请求处理程序返回需要在浏览器中显示的信息开始,在项目根目录中建立requestHandler.js,并写入以下内容: function start(){ console.log("Reaquest handler 'start' was called."); return "Hello Start";}function upload(){ console.log("Reques...
2017-03-16 15:06:00
97
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人