<script language="javascript" type="text/javascript">function logout(){if (confirm("您确定要退出控制面板吗?"))top.location = "../Login.aspx"; // top 该变更永远指分割窗口最高层次的浏览器窗口。如果计划从分…
应用程序池-高级设置-启动模式:AlwaysRunning 应用程序池-高级设置-进程模型-闲置超时:1740 (分钟) 应用程序-高级设置-常规-预加载已启用:True
网页中储存缓存方法介绍localStorage:仅在客户端存储不参与服务器通信,存储大小一般为5M,如果不是人为清除,那么即使是关闭浏览器也会一直存在。sessionStorage:仅在客户端存储不参与服务器通信,存储大小一般为5M,会话级存储,也就是说如果关闭当前页面或者浏览器那么就会…
用h5开发APP,代码中给img标签添加onclick事件,app在安卓系统运行正常,但在ios系统中部分img的onclick事件失效。ios对onclick事件的支持不是太完善,所以在移动端开发中应少用click事件,换用touch事件。最后换成touchend事件后,各平台运行正常。$(document).on(touchend,i…
高德:<a href="https://uri.amap.com/marker?position=经度,纬度&name=所在的位置名称">高德地图</a>百度:<a href="http://api.map.baidu.com/marker?location=纬度,经度&title=所在位置名称&content=所在位置的简介(可选)&a…
ASP.NET webForm表中循环获取行号Repeate行号属性Repeate控件显示行号<%#Container.ItemIndex+1 %> //Container.ItemIndex是从0开始的有分页的<%#GetXH(Container.ItemIndex) %>public string GetXH(object index){//返回当前索引+当前行号 StartRecordIndex从1开…
错误页 <script language="javascript" type="text/javascript"> var i = 5; var intervalid; intervalid = setInterval("fun()", 1000); function fun() { ...
ASP.NET 获得指定字符串中开始和结束中间的值/// <summary> /// 获得字符串中开始和结束字符串中间得值 /// </summary> /// <param name="str"></param> /// <param name="beginStr">开始</param> …
UEditor切换到html源代码模式,手写一些div/script/style等html代码后,切换回默认模式,会自动把一些标签给过滤掉。修改方法1、关闭切换html时过滤代码UE.plugins[defaultfilter] = function () { return; //在这里添加return,不执行下面的格式化 var me = this…
在web.config文件指定rewrite中添加301重定向<?xml version="1.0" encoding="UTF-8"?><configuration> <system.webServer> <rewrite> <rules> <rule name="301Redirect&...