JavaScript
mosliang
这个作者很懒,什么都没留下…
展开
-
JS判断输入是否为整数的正则表达式
http://hi.baidu.com/liuywcom/blog/item/899d2ccf0b6f613ef9dc6128.html1:"^//d+$" //非负整数(正整数 + 0) "^[0-9]*[1-9][0-9]*$" //正整数 "^((-//d+)|(0+))$" //非正整数(负整数 + 0) "^-[0-9]*[1-9][0-9]*$" //负整数 "^-?//d+$" //整数 "^//d+(//.//d+)?$" //非负浮点数(正浮点数 + 0) "^(([0-9转载 2010-12-31 14:39:00 · 15032 阅读 · 0 评论 -
Highcharts 基于ExtJs的报表
http://www.highcharts.com/原创 2012-03-13 13:38:39 · 2701 阅读 · 0 评论 -
IE6 中 window.location.href 不能跳转
http://www.cnblogs.com/Struggler/archive/2011/07/26/2117115.htmlwindow.location.href在IE6下面竟然不跳转,这是为什么呢?这个是我写的语句:a href="javascript:void(0);" ;onclick="javascript:window.location.href='http://www转载 2012-02-17 20:58:29 · 1817 阅读 · 0 评论 -
解决win7+IE8+开发人员工具不显示问题(附图)
原创 2011-12-26 22:43:49 · 1518 阅读 · 0 评论 -
JS添加收藏,设置主页
function addFavorite() { var thisURL = document.URL; var favURL = "http://" + getHost(thisURL); if (document.all) { window.external.addFavorite(原创 2011-11-23 21:38:54 · 2989 阅读 · 2 评论 -
使IE6下PNG背景透明的七种方法任你选
最近发现了个很方便的方法(转自:http://mengqing.org/archives/ie6-png24-transparent.html) IE6下png24透明 完美支持background-positionPosted on 2010 年 11 月 19 日转载 2011-09-08 13:50:05 · 8503 阅读 · 0 评论 -
点击可调用btnAdd的服务器事件
<br /><%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Web.Customer.WebForm1" %><br /><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br /><html原创 2011-04-29 10:11:00 · 1414 阅读 · 0 评论 -
总结JS打印方法
http://ltc603.javaeye.com/blog/123191对JS的打印方法总结一下,方便日后查阅。 一.用JS自带函数打印直接调用 Java代码 打印打印二.IEWebBrowser组件介绍 http://support.microsoft.com/default.aspx?scid=kb%3BEN-US%3BQ267240#tophttp://support.microsoft.com/kb/q247671/#appliestoJava代码转载 2011-02-24 17:05:00 · 551 阅读 · 0 评论 -
JavaScript五种继承方式
http://www.html5war.com/?p=358#127501-tsina-1-65799-37403ee4d52bdcc85c83ed483a1ad9581)继承第1种方式:对象冒充JavaScriptfunction Parent(username){ this.username = username; this.转载 2012-06-26 22:35:27 · 496 阅读 · 0 评论