08 2018 档案
摘要:1,asp:timer无法获取和设置——ContentTemplate范围之外的值。 <asp:UpdatePanel ID="UpdatePanelTimer" runat="server"> <ContentTemplate> 2,ContentTemplate范围的timer值,可以在后台获取
阅读全文
摘要:1,debug模式发布,可以的IIS远程调试,release不行 2,debug模式,附加到进程,w3wp.exe, 3,webform 如果,只上传修改的——1,aspx 2,aspx.cs 3,相应的dll————一个不能缺少,pdb文件也可能 删除 4,C#还是比较好的语言,powershel
阅读全文
摘要:{ // 指向 PHP 可执行文件。 "php.validate.executablePath": "D:/phpstudy/PHPTutorial/php/php-5.5.38/php.exe", // Git 可执行文件路径 "git.path": "D:/git/Git/cmd/git.exe
阅读全文
摘要:/** 把用户输入的文本转义(主要针对特殊符号和emoji表情) */ function userTextEncode($str){ if(!is_string($str))return $str; if(!$str || $str=='undefined')return ''; $text = json_encode($str); //暴露出unicode ...
阅读全文
摘要:1,php $urlcode="https://api.weixin.qq.com/sns/oauth2/access_token?appid=$this->appidweb&secret=$this->appsecretweb&code=$code&grant_type=authorization
阅读全文
摘要:ajax无法跳转网页。仅用于获取数据。跳转网页要在前端window.location.href 1,跨域访问要设置,crossDomain:true; // dataType : "jsonp",//jsonp可以用于构造二次请求如Callback=getMessageone // jsonp:"C
阅读全文
摘要:1,jquery 获取scrollHeight: $("div")[0].scrollHeight $('div').prop('scrollHeight'); 设置scrollTop $(".chat-con").scrollTop(h);//这里没有引号,注意 2,js var div = do
阅读全文
摘要:.inner-container::-webkit-scrollbar { display: none; } overflow:scroll; overflow-x:scroll;
阅读全文
摘要:console.dir有很多浏览器,系统的兼容性问题,不要随便用! 要使用console.log();
阅读全文

浙公网安备 33010602011771号