1.select标签(下拉列表) 什么是下拉列表? 这就是下拉列表 作用: 用于定义下拉列表 格式: <select> <option>列表数据</option> </select> 这个下拉列表和datalist很像,但是它们两个之间有很大的区别 datalist是用来定义待选列表,将来它可以绑定 ...
分类:
其他好文 时间:
2018-06-08 14:10:27
阅读次数:
172
Delphi IDHTTP控件:GET/POST 请求 最近一直在使用IDHTTP,下面是一些关于 GET、POST 请求基本使用方法的代码 一、GET 请求 1 procedure GetDemo; 2 var 3 IdHttp : TIdHTTP; 4 Url : string;//请求地址 5 ...
昨天练习写了这个小demo,个人觉得通过设置定位元素left和top的值,来实现换行的功能,这种方法很巧妙~ 另外,如下代码中的随机颜色的获取,还请各位前辈多多指教:需要改进的地方;或者有没有更好的方法。 ...
分类:
Web程序 时间:
2018-06-08 10:28:59
阅读次数:
236
3> Transport{prodId=411, from='a', to='b', ingestionTimestamp='1528384356501', timestamp='1528384357034'} Transport{prodId=411, from='b', to='c', inge ...
分类:
其他好文 时间:
2018-06-08 00:59:52
阅读次数:
229
存代码 "学习的博客" 然后国家集训队2017年的论文 在后面插入的 支持前后插入,维护最长回文前缀和最长回文后缀 前缀的$fail$和后缀的$fail$相同,因为回文串的对称性 题目 "vjudge/HDU:Victor and String" cpp include define IL inli ...
分类:
其他好文 时间:
2018-06-08 00:54:58
阅读次数:
179
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or ...
分类:
其他好文 时间:
2018-06-08 00:44:55
阅读次数:
163
实现一个整数加法计算器(多个数相加):如:content = input("请输入内容:") 用户输入:5+9+6 +12+ 13,然后进行分割再进行计算。升级:用户输入不规范时如:5,5++,5=,jjjj,j+%+^,+6+9+k时让用户重新输入. while 1: content = inpu... ...
分类:
其他好文 时间:
2018-06-07 23:01:34
阅读次数:
401
1.原生写ajax实现图片预览: 结构: <input type="file"> <img src="" alt=""> JavaScript代码: <script> document.querySelector('input').onchange =function(){ //创建异步对象 var ...
分类:
Web程序 时间:
2018-06-07 21:53:42
阅读次数:
229
A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child. Input Each input file contain ...
分类:
其他好文 时间:
2018-06-07 20:47:43
阅读次数:
197
网页效果图:http://www.dycun.cc/ 如下: css代码 main.css: reset.css html代码: 资源文件: capate.jpg egg,jpg fresh.jpg friut.jpg foods.jpg logo.png pic01.jpg pic02.jpg b ...
分类:
其他好文 时间:
2018-06-07 19:25:22
阅读次数:
206