码迷,mamicode.com
首页 >  
搜索关键字:text    ( 52583个结果
Struct2_使用Ajax调用Action方法并返回值
一、Login.jsp 1、<head>引入jquery: <script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.1.js"></script> 2、界面控件: 用户名: <input
分类:Web程序   时间:2016-02-16 20:26:37    阅读次数:272
jq第二天 (属性-CSS 类 ,html/文本/值 )
addClass() 方法向被选元素添加一个或多个类。 <script> $(function(){ $('button').click(function(){ $('p').addClass('nss') }) })</script><style type="text/css"> .nss{bac
分类:Web程序   时间:2016-02-16 18:49:06    阅读次数:162
C# 酒鬼买酒喝,瓶盖和空瓶子可以换新的酒
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 换瓶子 { class Program { //...
分类:Windows程序   时间:2016-02-16 18:47:28    阅读次数:236
jquery.layout框架分割线
css <link href="${base}/res/common/css/jquery.layout/jquery.layout.css" rel="stylesheet" type="text/css"> js <script type="text/javascript" src="${bas
分类:Web程序   时间:2016-02-16 18:18:04    阅读次数:328
HTML5:定制表单
HTML5中存在多种不同的输入框和按钮,通过设置input元素的type属性来实现,除此之外,HTML5中还支持选择列表、多行输入框等,这些元素都有自己的用途和属性,下面一一介绍。单行文本输入框type为text表示input元素为一个单行文本框,是input元素的默认表现形式。单行文本输入框支持下面的属性设置。设定元素大小maxlength属性设定用户能够输入的字符的最大数目;size属性设定了...
分类:Web程序   时间:2016-02-16 16:57:19    阅读次数:136
常用的JS页面跳转代码调用大全
一、常规的JS页面跳转代码 1、在原来的窗体中直接跳转用 <script type="text/javascript"> window.location.href="你所要跳转的页面"; </script> 2、在新窗体中打开页面用: <script type="text/javascript">
分类:Web程序   时间:2016-02-16 16:41:23    阅读次数:169
不同类型刚体接触测试
一个刚体与任意类型的感应刚体接触,preSlove和postSlove将会忽略不执行只执行。测试代码如下: package{ import Box2D.Common.Math.b2Vec2; import Box2D.Dynamics.b2Body; import flash.text.TextFi
分类:其他好文   时间:2016-02-16 16:41:16    阅读次数:223
纯CSS实现小圆点和三角形图案
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>纯CSS制作三角形和小圆点</title> <style> .arrowbox{wid
分类:Web程序   时间:2016-02-16 16:35:58    阅读次数:172
阿里鱼注册短信发送代码
第一步: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using Top.Api;using Top.Api.Reques
分类:其他好文   时间:2016-02-16 14:37:48    阅读次数:256
中文乱码解决方案
方法一: <%@ page contentType="text/html; charset=GBK"%> 方法二: //设置解码方式,对于简体中文,使用GBK编码 request.setCharacterEncoding("GBK"); 方法三: // 获取请求里包含的查询字符串 String ra
分类:其他好文   时间:2016-02-16 13:26:17    阅读次数:171
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!