<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/><ti..
分类:
其他好文 时间:
2015-03-19 18:43:49
阅读次数:
336
数据库文件:http://pan.baidu.com/s/1dDEkTLB1,<scriptlanguage="javascript"type="text/javascript"src="jquery.js"></script>2,<script>functionsetChild(parent_node,parent_id){
if(‘city_id‘==parent_node){
$(‘#city_id‘).html(‘<optionvalue=""..
分类:
Web程序 时间:
2015-03-19 18:43:25
阅读次数:
185
DBHeper:usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Data;usingSystem.Data.SqlClient;usingSystem.Configuration;namespaceNewsDAL{publicstaticclassDBHeper{privatestaticSqlConnectionconnection;///<summary>///连接数据库///</..
分类:
Web程序 时间:
2015-03-19 16:33:03
阅读次数:
124
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace 树的实现
...
怎样使input中的内容为只读,也就是说不让用户更改里面的内容。最好不要用disabled,不然就无法取出里面的值了.区别:1.disabled--完全不可编辑,并且是不能复制的2.readonly--不可编辑,但是是可以复制。3.Readonly只针对input(text/password)和te...
分类:
其他好文 时间:
2015-03-19 16:14:59
阅读次数:
133
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
BasicsA template is a text document or a normal Python string, that is marked-up using the Django template language.A template can contain block tags ...
分类:
其他好文 时间:
2015-03-19 14:33:07
阅读次数:
212
我们在实际工作中常会遇到需要设置水平居中场景,今天我们就来看看怎么设置水平居中的。如果被设置元素为文本、图片等行内元素时,水平居中是通过给父元素设置text-align:center来实现的。如下代码:html代码: 我是文本,哈哈,我想要在父容器中水平居中显示。css代码:
分类:
其他好文 时间:
2015-03-19 12:57:45
阅读次数:
109
在以前使用倒计时的时候都是自己通过使用handle延迟发送来实现,但是最近在Android当中发现一个类,是Android提供的倒计时实现类,使用简单,原理也是通过handle来进行倒计时的;
一个简单的小李子:
private TextView text; private CountDownTimer timer = new CountDownTim...
分类:
移动开发 时间:
2015-03-19 10:17:03
阅读次数:
138
在项目开发中,写jQuery代码有时候会搞混淆一下东西,现在写一下demo来列出jQuery的.html(),.text(),.val()的区别。 1. html()取得第一个匹配元素的内容,简单来说就是所取得的标签所包含的所有东西。 假如括号中有带val的话,最简单的理解就是将上一步取得的内...
分类:
Web程序 时间:
2015-03-19 10:08:57
阅读次数:
141