JQuery学习笔记1
选择器(selector)
先看看可以如何把他们分类:
从接收的参数类型来看
1.JS对象
2.字符串
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript
JAVA的内存泄露是指内存中有永远不会被使用,且不会被JVM回收的对象
http://www.ibm.com/developerworks/cn/java/l-JavaMemoryLeak/
http://msdn.microsoft.com/en-us/library/aa394600(VS.85).aspx
http://www.microsoft.com/china/technet/community/scriptcenter/registry/default.mspx
<?php header('P3P: CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"'); setcookie('testkey','testvalue');
Advantages
You can open more than one popup the same time;
There is no pre-defined layout, so you are able to create your own layout;
You can call the popups using ajax or using the content of a hidden html element;
The jmpopups is concerned about acessibility. When a popup is opened, the focus will be kept only inside that popup. It will directly focus the first focusable element. The idea is to help users who use the keyboard for browsing (f.e. disabled people).
It works for IE 6+, FF 1.5+, Opera 9.*, Chrome 2.*, Safari 4.*.
Compatible with JQuery 1.3.*
Demo
http://otavioavila.com/jmpopups-example/
function setCookie(name,value,days){ var exp=new Date(); exp.setTime(exp.getTime() + days*2*60*60*1000); var arr=document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)")); document.cookie=name+"="+escape(value)+";expires="+exp.toGMTString(); } function getCookie(name){ var arr=document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)")); if(arr!=null){ return unescape(arr[2]); return null; } } function delCookie(name){ var exp=new Date(); exp.setTime(exp.getTime()-1); var cval=getCookie(name); if(cval!=null){ document.cookie=name+"="+cval+";expires="+exp.toGMTString(); } }