码迷,mamicode.com
首页 >  
搜索关键字:script scriptreplay    ( 23182个结果)
js 自执行函数 函数内部可以通过函数名调用本身 函数外部调用报 未定义错误
先看错误过程 <!DOCTYPE?html> <html> <head> <meta?charset="UTF-8"> <title>ipt-test</title> </head> <body> <script> var?a=true; !function?main(){ ??if(a){ ????a=false; ????main(); ??}...
分类:Web程序   时间:2015-07-15 23:18:02    阅读次数:471
salt cmd.script
salt‘*‘cmd.scriptcmd.run这个前面说了cmd.script这个是比较强大的命令,意思是可以从远程下载一个脚本在客户端执行CLIExample:salt‘*‘cmd.scriptsalt://scripts/runme.shsalt‘*‘cmd.scriptsalt://scripts/runme.sh‘arg1arg2"arg3"‘帮助文档说Thescriptcanbelocatedonthesaltmas..
分类:其他好文   时间:2015-07-15 23:16:30    阅读次数:432
jsp页面时间获取
赋值<%Datedate=newDate();request.setAttribute("date",date);%>取值${date}(1)JSP页面:request.setAttribute("date",newDate());(2)EL表达式JSP显示服务器上的时间:${date}(3)如果你仅仅只想在获得本地上的时间,你只要用js就可以获得了<script>vardate=newDate()..
分类:Web程序   时间:2015-07-15 23:05:13    阅读次数:120
让nginx支持PATH_INFO
让nginx支持PATH_INFO在nginx上的站点添加如下内容:######################################################################location~\.php{fastcgi_indexindex.php;fastcgi_pass127.0.0.1:9000;includefcgi.conf;set$path_info"";set$real_script_name$fastcgi_script_name..
分类:其他好文   时间:2015-07-15 23:04:06    阅读次数:136
练习(未完)
<head> <script?type="text/javascript"> </script> </head> <body?onmousemove="closesubnav(event);"> <div?class="skipLinks">skip?to:?<a?href="#content">page?content</a>?|?<a?href="#pageNav"...
分类:其他好文   时间:2015-07-15 17:12:35    阅读次数:113
转发:PowerDesigner的常用设置(引用学习绘制类图、ER图等)
1、由pdm生成建表脚本时, 字段超过15字符就发生错误(oracle)原 因未知,解决办法是打开PDM后,会出现Database的菜单栏,进入Database - Edit Current DBMS-script-objects-column-maxlen,把value值调大(原为30),比如改成...
分类:其他好文   时间:2015-07-15 12:32:08    阅读次数:180
构建自己的JavaScript模板小引擎
有时候,我们不需要太牛逼太强大的JavaScript模板引擎(比如jQuery tmpl或者handlebarsjs),我们只是需要在简单的模板里绑定一些非常简单的字段,本文将使用非常简单的技巧来帮你实现这个小功能。 首先我们先来定义我们需要的模板,在id为template的script块里: doctype html> html> head> meta charset=utf-...
分类:编程语言   时间:2015-07-15 09:28:07    阅读次数:142
异步加载js
//异步加载js function loadScript(url,callback){ var script = document.createElement("script"); script.type="text/javascript"; ...
分类:Web程序   时间:2015-07-14 17:48:29    阅读次数:93
HTML5 postMessage 跨域交换数据
前言 之前简单讲解了利用script标签(jsonp)以及iframe标签(window.name、location.hash)来跨域交换数据,今天我们来学习一下HTML5的api,利用postMessage来跨域交换数据。和前面一些方式交换数据方式不同的是,利用postMessage不能和服务端....
分类:Web程序   时间:2015-07-14 17:27:25    阅读次数:144
.NET 数据类型转换 方法
using Newtonsoft.Json;using Newtonsoft.Json.Converters;using System.Web.Script.Serialization;/// /// 将字符串转为字典类型 /// /// /// public ...
分类:Web程序   时间:2015-07-14 15:06:18    阅读次数:140
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!