摘要:<div id=link_logo style="OVERFLOW: hidden; WIDTH: 600px; HEIGHT: 468px"> <div id=link_logo1 style="OVERFLOW: hidden"> <table width="100%" height="468" border="0" cellpadding="0" cellsp...
阅读全文
摘要:<div id=demo style=overflow:hidden;height:139;width:232;background:#f4f4f4;color:#ffffff><div id=demo1><img src="http://www.showweb.cn/uploadfile/200901/3/143733017.jpg"><img src=...
阅读全文
摘要:http://www.dotbbs.net/topic.aspx?id=111function getParam(name){ var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); if (r!...
阅读全文
摘要:var editwin = editor1.GetWindow();Getting the active editor documentIn order to find the active editor document, you'd write: // get the active editor documentvar editdoc = editor1.GetDocument();Getti...
阅读全文
摘要:在网页中加入下列代码 <script> function window.onunload(){alert(这就是你要做的事,关闭网页之后做的!)} function window.onbeforeunload(){alert(这就是你要做的事,关闭网页之前做的!)} </script> 或者<script> function tuichu(){alert(...
阅读全文
摘要:正则表达式是一个描述字符模式的对象。 JavaScript的RegExp对象和String对象定义了使用正则表达式来执行强大的模式匹配和文本检索与替换函数的方法. 在JavaScript中,正则表达式是由一个RegExp对象表示的.当然,可以使用一个RegExp()构造函数来创建RegExp对象,也可以用JavaScript 1.2中的新添加的一个特殊语法来创建RegExp对象.就像字符串直接...
阅读全文
摘要:当页面中包含的js文件中有中文输出时,在页面中会出现乱码.解决办法,在包含代码中加入charset,和页面编码一致.<script charset="gb2312" src="/DotBBS_Net/Js/Register.js" language="javascript"></script>
阅读全文
摘要:本文通过一个Ajax登陆实例,学习JQuery在Ajax方面的应用。 //前台代码 //LoginCheck.aspx.cs using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; ...
阅读全文
摘要:jQuery是一款同prototype一样优秀js开发库类,特别是对css和XPath的支持,使我们写js变得更加方便!如果你不是个js高手又想写出优 秀的js效果,jQuery可以帮你达到目的! 下载地址:Starterkit (http://jquery.bassistance.de/jquery-starterkit.zip) jQu...
阅读全文
摘要:一、简介 1.1、概述 随着WEB2.0及 ajax思想在互联网上的快速发展传播,陆续出现了一些优秀的Js框架,其中比较著名的有Prototype、YUI、jQuery、mootools、 Bindows以及国内的JSVM框架等,通过将这些JS框架应用到我们的项目中能够使程序员从设计和书写繁杂的JS应用中解脱出来,将关注点转向功能需 求而非实现细节上,从而提高项目的开发速度。 ...
阅读全文
摘要:无标题页 right 1111111111111
阅读全文
摘要:1 设置IE浏览器。选项->高级->禁用脚本调试(Internet Explorer) 前面钩去掉 2 在要调试的前一行加debugger; 如下: debugger controlLoginVisible();
阅读全文