码迷,mamicode.com
首页 >  
搜索关键字:script scriptreplay    ( 23182个结果)
script表单验证
表单验证:一、非空验证:1、内容是不是空的。判断值的长度是不是0。length属性。压缩空格的函数。2、内容是不是改变了。二、对比验证:1、验证两个控件值的关系(相同,大小)2、验证控件的值与某个固定值的关系。三、范围验证:四、格式验证:正则表达式。regularexpressionfunction...
分类:其他好文   时间:2015-01-28 21:15:39    阅读次数:273
ASP.NET程序中常用的三十三种代码
1. 打开新的窗口并传送参数: 传送参数:response.write("<script>window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)</script>") 接收参数:string a = Req...
分类:Web程序   时间:2015-01-28 19:37:17    阅读次数:205
MyEclipse 2015 C 使用 Apache cordova PhoneGap Demo1
1.?安装?MyEcipse 2015 C ? ? 资源地址 :????有需要的?百度?查找 。 2.New - Create a PhoneGap Application Project - 输入: project Name ? Demo1 ? finish . 3.?运行截图 <script?type="text/...
分类:Web程序   时间:2015-01-28 18:06:31    阅读次数:225
[转]script之defer&async
html5中script的async属性我兴奋于html5的原因之一是一些久久未能实现的特性现在可以真正运用于实际项目中了. 如我们使用placeholder效果蛮久了但是那需要javascript来实现. 目前firefox和chrome都是实现了script标签的async属性.这个新的属性能让...
分类:其他好文   时间:2015-01-28 17:32:31    阅读次数:222
scripts/local脚本mount_root脚本文件分析
# Local filesystem mounting            -*- shell-script -*- pre_mountroot() {     [ "$quiet" != "y" ] && log_begin_msg "Running /scripts/local-top"     run_scripts /scripts/local-top     [ "$qu...
分类:其他好文   时间:2015-01-28 14:40:04    阅读次数:463
script常用类型和事件
常用的类型:1.数学:Math.ceil():天花板数Math.floor():地板数Math.round():四舍五入取整数Math.random():生成0-1之间的随机数2.日期时间:var s = new Date();var s = new Date(1999,7,23);函数:getFu...
分类:其他好文   时间:2015-01-27 23:18:16    阅读次数:282
页面动态加入<script>标签并执行代码
在页面中动态追加html片段的时候,有时候动态添加的代码会含有 直接把它放在标签中,就会往这个标签中输出东西了。使用jQuery的html() 上面的方法说来说去,都不如jQuery简单,因为jQuery的html()方法内部已经做了处理,如果参数中含有标签,内部会使用上面的方法一和方法二进...
分类:其他好文   时间:2015-01-27 20:10:36    阅读次数:312
fastcgi_param 详解
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;#脚本文件请求的路径 fastcgi_param QUERY_STRING $query_string; #请求的参数;如?app=123 fa...
分类:其他好文   时间:2015-01-27 20:05:48    阅读次数:176
获取当前JS所在文件夹
var t=document.getElementsByTagName("SCRIPT"), src = t[t.length - 1].src, baseSrc = src.replace(/(\/[^\/]...
分类:Web程序   时间:2015-01-27 18:15:55    阅读次数:112
AMS 启动出错: Waiting for another script to finish...
situation:ams streams 文件夹过大, 删除后,重启 ams, 重启失败, amscore 称为defunct process, 无法停止, ps auxww|grep ams,  kill 相关 process, 之后重启总是提示: Waiting for another script to finish... google之后发现 can no more start ...
分类:其他好文   时间:2015-01-27 16:20:46    阅读次数:266
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!