摘要:
基异常类型:类说明System.Exception所有异常的基类型System.ApplicationException发生非致命应用程序错误时引发的异常System.SystemException为System命名空间中的预定义异常定义基类直接由System.SystemException派生的异常类型:类说明System.AccessViolationException在试图读写受保护内存时引发的异常System.ArgumentException在向方法提供的其中一个参数无效时引发的异常System.Collections.Generic.KeyNotFoundException指定用于 阅读全文
摘要:
设置cookievar myCookie = Ext.util.Cookie.set(‘YourCookieName’,'YourValue’);读取cookieExt.util.Cookie.get(‘YourCookieName’); 阅读全文
摘要:
网页常常有对字体放大缩小的需求,我们不妨来看一下下面这段JQuery代码的实现。假如在html页面代码中我们有这么一段代码:啦啦啦啦啦啦啦啦啦啦那么JQuery的实现如下$(document).ready(function () { var fontSize = $("p").css("font-size"); //取得当前字体大小 var fontSizeNumber = parseFloat(fontSize , 10); //取得单位 var unit = size.slice(-2); //放大字体,bigFontSize为按钮id $(&quo 阅读全文
摘要:
window.location.href="这里写页面的路径";如:window.location.href="www.baidu.com"; 阅读全文
摘要:
①需要在开发包中包含文件夹example/shared中的example.js和example.css两个文件即可。②在html文件中引入: (路径可能不一样)③在js文件中写Ext.example.msg("",""),如Ext.example.msg("提示","删除成功") 阅读全文
摘要:
讲解Ext API配置到本地的全过程。 阅读全文