摘要: JS页面 var checkcode=document.getElementById("checkcode"); checkcode.onclick=function(){ this.src='checkcode.php?tm='+Math.random(); //实现验证码局部刷新 checkcode.php为验证码文件 } HTML应用验证码页面 验 证 码: 阅读全文
posted @ 2013-06-24 21:14 罗导 阅读(355) 评论(0) 推荐(0) 编辑
摘要: 有如下3种方法:方法1using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms; namespace MarkPrinter{ public partial class ResizeTest : Form { public float X; public float Y; pu... 阅读全文
posted @ 2013-06-24 19:22 罗导 阅读(1119) 评论(0) 推荐(0) 编辑
摘要: 一、window.open()支持环境:JavaScript1.0+/JScript1.0+/Nav2+/IE3+/Opera3+二、基本语法:window.open(pageURL,name,parameters)其中:pageURL 为子窗口路径name 为子窗口句柄parameters 为窗口参数(各参数用逗号分隔)三、示例: 脚本运行后,page.html将在新窗体newwindow中打开,宽为100,高为400,距屏顶0象素,屏左0象素,无工具条,无菜单条,无滚动条,不可调整大小,无地址栏,无状态栏。请对照。 上例中涉及的为常用的几个参数,除此以外还有很多其他参数,请见四。... 阅读全文
posted @ 2013-06-24 19:16 罗导 阅读(9698) 评论(0) 推荐(1) 编辑
摘要: 今天遇到了需要将子窗体的数据传递给父窗体的问题,到网上找了个答案。特分享下。以备不时之需。1.在父窗体中把子窗体的值带出来第一种方法:(1)在父窗体中的代码: (2)子窗体中的代码 第二种方法:(1)在父窗体中的代码: (2)在子窗体中的页面 2.在子窗体里带出父窗体里的值(1)父窗体里的代码 (2)子窗体里的代码 阅读全文
posted @ 2013-06-24 19:15 罗导 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 贴一段自己写的验证码,以后要用方面查找。 阅读全文
posted @ 2013-06-24 19:12 罗导 阅读(239) 评论(0) 推荐(0) 编辑