C# .NET
-
Cancel Enter key event
function doClick(e, buttonName) { var key; if (window.event) key = window.event.keyCode; else key = e.which; if (key == 13) { var btn = document.getElementById(buttonName); if (btn != null) { btn.click ...
发布时间:Bowen Gu,发布者:2009-11-22 下午10:09
-
404 page not found
http://helephant.com/2009/02/improving-the-way-aspnet-handles-404-requests/ <customErrors mode="On"> <error statusCode="404" redirect="404.aspx" /> </customErrors> <httpModules> <add name="ErrorModule" type="ErrorModule, App_Code ...
发布时间:Bowen Gu,发布者:2009-10-12 上午7:13
|
|
|
|
ASP.NET AJAX
-
Javascript里以字符形式调用函数
function Test() { var myFunctions = ["A","C","B"]; for (i = 0; i < myFunctions.length; i++) { var fn = window[myFunctions[i]]; if(typeof fn === 'function') { fn(); } } } function A() { alert("A"); } function B ...
发布时间:Bowen Gu,发布者:2009-8-29 上午7:34
-
Access Html Obects in ASPX.CS File
http://www.velocityreviews.com/forums/t116474-need-help-reading-controls-added-dynamically-using-javascript-innerhtml-in-aspnet.htmlThe new controls won't be added to the ASP Controls collection ...
发布时间:Bowen Gu,发布者:2009-5-18 下午10:14
|
| |
|
| |
|
|
|