码迷,mamicode.com
首页 >  
搜索关键字:script    ( 23180个结果
[转]AS3的垃圾回收
GC和内存泄露无关垃圾回收,这次是一个被无数人讨论过的传统话题。Action Script使用的是和Java相似的内存管理机制,并不会即时回收废弃对象的内存,而是在特定时间统一执行一次GC(Gabage Collection)操作来释放废弃对象的内存,避免了重复判断是否需要回收产生的性能问题。但要注...
分类:其他好文   时间:2014-09-28 21:03:46    阅读次数:250
Javascript:使用jQuery提交Form表单
DEMO说明一切: 1 // this is the id of the form 2 $("#idForm").submit(function() { 3 4 var url = "path/to/your/script.php"; // the script where you han...
分类:编程语言   时间:2014-09-28 11:51:51    阅读次数:240
php过滤html字符
$str?=?preg_replace(?"@<script(.*?)</script>@is",?"",?$str?);? $str?=?preg_replace(?"@<iframe(.*?)</iframe>@is",?"",?$str?);? $str?=?preg_replace(?"@<style(.*?)</style>@is",?"",?...
分类:Web程序   时间:2014-09-27 19:46:00    阅读次数:164
JavaScript事件添加
使用script脚本为网页中的按钮添加时间,起先代码如下 点击这里 在火狐的Debug中document.getElementById("btn").onclick=function(){displayDate()};这一句会报is NULL 的错误,所以需要在脚本出现之前定义按钮,但是脚本...
分类:编程语言   时间:2014-09-27 19:09:00    阅读次数:187
js中获取随机数
<script?language="javascript"> rnd.today=new?Date(); rnd.seed=rnd.today.getTime(); function?rnd()?{ rnd.seed?=?(rnd.seed*9301+49297)?%?233280; return?rnd.seed/(233280.0); }; ???...
分类:Web程序   时间:2014-09-27 16:41:20    阅读次数:172
10.发布
本章应该与rel(4),systools(3)和script(4)。发布的概念当我们已经写了一个或多个应用后,我们可能想创建一个由这些应用和Erlang/OTP应用的一个子集组成的完整系统。要实现这个目的,我们通过创建一个定义在发布中要包含哪些应用的发布资源文件。该发布资源文件是用于生成启动脚本和发...
分类:其他好文   时间:2014-09-27 14:33:59    阅读次数:253
Javasrcipt---HTML中使用Javascript
在HTML中使用Javascript: ———————————————————————————————————————————————————————— 主要内容; 一、<script>元素的使用。 二、嵌入脚本和外部引入脚...
分类:编程语言   时间:2014-09-26 19:42:08    阅读次数:409
Getting http address from text file by awk script
Today , I writed a awk script,it can get http address. The http address only contains number, alphabet,backslash and point. My awk script is following...
分类:其他好文   时间:2014-09-26 02:49:58    阅读次数:196
右侧浮动导航
<div id="float" class="float"> ?<a>1</a> ?<a>2</a> </div> <style> .float{width:168px;height:294px;position:absolute;top:180px;left:254px;z-index:100;padding-top:32px;} </style> ?<script> (funct...
分类:其他好文   时间:2014-09-25 22:13:38    阅读次数:316
Jquery判断滚动条是否到达窗口顶部和底部
<script type="text/javascript"> $(document).ready(function(){ ????alert($(window).height()); //浏览器时下窗口可视区域高度 ????alert($(document).height()); //浏览器时下窗口文档的高度 ????...
分类:Web程序   时间:2014-09-25 20:26:08    阅读次数:184
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!