<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>JS/Ajax - 技术文档</title>
    <link>http://article.phpfans.net</link>
    <description>PHP爱好者,新闻,论坛,问答吧,文档,手册,下载,博客</description>
    <copyright>Copyright(C) PHPfans</copyright>
    <lastBuildDate>Mon, 06 Sep 2010 15:08:53 +0800</lastBuildDate>
    <image>
      <url>http://www.phpfans.net/image/phpfans.logo.gif</url>
      <title>PHP爱好者</title>
      <link>http://www.phpfans.net</link>
    </image>
    <item>
      <title>js jquery-hotkeys</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMTYz.html</link>
      <description><![CDATA[&nbsp;
http://code.google.com/p/js-hotkeys/
&nbsp; 
jQuery.Hotkeys plugin lets you easily add and remove handlers for keyboard events anywhere in your code supporting almost any key combination. It ta...]]></description>
      <category>JS/Ajax</category>
      <author>吴X</author>
      <pubDate>Mon, 06 Sep 2010 14:13:00 +0800</pubDate>
    </item>
    <item>
      <title>一些常用且实用的原生 JavaScript函数</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMTU4.html</link>
      <description><![CDATA[日常开始中常用到的一些原生JavaScript函数,比较实用, 今天特地整理一下,分享给大家,希望对大家有用,会常更新,同时也欢迎大家补充.css及html方面的技巧总结,点此前往: 前端开发中一些常用技巧总结.1. document.getElementById的简写: http://mrthink.net/javascript-getbyid-simplewrite/;2. getElemen...]]></description>
      <category>JS/Ajax</category>
      <author>Mr.Think</author>
      <pubDate>Mon, 06 Sep 2010 13:54:00 +0800</pubDate>
    </item>
    <item>
      <title>【转】javascript 之 select下拉框</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMTUx.html</link>
      <description><![CDATA[1.动态创建select

&nbsp;
&nbsp;&nbsp;&nbsp; function createSelect(){
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var mySelect = document.createElement(select); &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my...]]></description>
      <category>JS/Ajax</category>
      <author>黑耗子</author>
      <pubDate>Mon, 06 Sep 2010 11:45:00 +0800</pubDate>
    </item>
    <item>
      <title>Jquery优化效率，提升性能解决方案</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMTMx.html</link>
      <description><![CDATA[　　jQuery是目前非常流行的Javascript库之一，随着jQuery应用程序的逐渐增多，其性能优化问题是程序员们不可忽视的，我们知道在jQuery中最快的选择器是ID选择器，因为它直接来自于JavaScript的getElementById()方法。例如有一段HTML代码：
　　1.总是从ID选择器开始继承




以下是引用片段：&lt;div&nbsp;id="content"&gt;...]]></description>
      <category>JS/Ajax</category>
      <author>Ryan Boo</author>
      <pubDate>Mon, 06 Sep 2010 10:36:00 +0800</pubDate>
    </item>
    <item>
      <title>JQuery使用手册</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMTMw.html</link>
      <description><![CDATA[&nbsp;
官方网站：http://jquery.com&nbsp;&nbsp;&nbsp; jQuery是一款同prototype一样优秀js开发库类，特别是对css和XPath的支持，使我们写js变得更加方便！如果你不是个js高手又想写出优 秀的js效果，jQuery可以帮你达到目的！&nbsp;&nbsp; 下载地址：Starterkit （http://jquery.bassistanc...]]></description>
      <category>JS/Ajax</category>
      <author>绿森林</author>
      <pubDate>Mon, 06 Sep 2010 10:31:00 +0800</pubDate>
    </item>
    <item>
      <title>JSP核心标签库</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMTIy.html</link>
      <description><![CDATA[1.一般标签
在JSTL中，一般标签主要用在输出、设置变量值和错误处理等，这些是JSTL中使用最多的标签
1).&lt;c:out value=&rdquo;&rdquo; escapeXml=&rdquo;true|false&rdquo; default=&rdquo;defValue&rdquo;&gt; 计算一个表达式的值，然后把计算的结果输出到当前的JspWriter对象。调用的结果和S...]]></description>
      <category>JS/Ajax</category>
      <author>沉默暴风</author>
      <pubDate>Mon, 06 Sep 2010 09:35:00 +0800</pubDate>
    </item>
    <item>
      <title>JavaScript去除相同Array数组元素</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMDg4.html</link>
      <description><![CDATA[//方法一，普通遍历function myArray_Unique(myArray){ //var myArray=new Array("a","a","c","a","c","d","e","f","f","g","h","g","h","k"); var haha=myArray; for(var i=0;i&lt;myArray.length;i++) {  for(var j=0;j&lt...]]></description>
      <category>JS/Ajax</category>
      <author>小虾米~</author>
      <pubDate>Mon, 06 Sep 2010 02:29:00 +0800</pubDate>
    </item>
    <item>
      <title>Jquery扩展</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMDc0.html</link>
      <description><![CDATA[对于Jquery的扩展的方式有两种：
1.$.extend 2.$.fn.extend.
两种方式的区别是$.extend对应的是整个Jquery的插件管理库。即只要是引用了Jquery库的地方都可以使用在它里面定义的函数。而$.fn.extend中定义的函数，我的理解是由Jquery对象引用的。
具体扩展我些了两个最简单的例子。如下：
$.fn.extend({&nbsp;&nbsp;&nbsp...]]></description>
      <category>JS/Ajax</category>
      <author>tyb1222</author>
      <pubDate>Sun, 05 Sep 2010 23:35:00 +0800</pubDate>
    </item>
    <item>
      <title>Javascript高级程序设计第二版第五章--引用类型--笔记</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMDYz.html</link>
      <description><![CDATA[  5.1 Object 类型  创建Object实例有两种方式  1.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 使用new  var person = new Object();  person.name = &#8216;豪情&#8217;;  person.age = 29;  2.&nbsp;&nbsp;&nbsp;&nbsp;&n...]]></description>
      <category>JS/Ajax</category>
      <author>Jikey</author>
      <pubDate>Sun, 05 Sep 2010 22:46:00 +0800</pubDate>
    </item>
    <item>
      <title>Javascript篇</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMDYx.html</link>
      <description><![CDATA[1. Javascript与DOM  Javascript与DOM不是包含与被包含的关系：  Javascript是Sun和网景共同开发的一种脚本语言，使用它可以创建动态效果的、人机交互的网页。Javascript旨在使网页开发人员能对网页的功能进行管理和控制。  而DOM是W3C的一套Web标准。它定义了访问HTML文档对象的一套属性、方法和事件。DOM是以层次结构组织的节点或信息片段的集合。这...]]></description>
      <category>JS/Ajax</category>
      <author>Ju2ender</author>
      <pubDate>Sun, 05 Sep 2010 22:44:00 +0800</pubDate>
    </item>
    <item>
      <title>javascript自定义事件</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMDQz.html</link>
      <description><![CDATA[首先，我们要实现一个专门管理事件的EventDispatcher&#8220;类&#8221;，它具有添加事件、移除事件、触发事件的方法(抄袭于AS。。。&nbsp;o～(￣&#9661;￣o～))，以下是代码实现：


]]></description>
      <category>JS/Ajax</category>
      <author>随机</author>
      <pubDate>Sun, 05 Sep 2010 20:01:00 +0800</pubDate>
    </item>
    <item>
      <title>JQuery实现局部刷新时内存溢出的一种解决方法（菜鸟的第一笔，多多包涵）</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMDQy.html</link>
      <description><![CDATA[案例描述：
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 在用JQuery实现对客户端请求的不间断监听，并用post方法实现局部刷新的时候，发现客户端浏览器在经过一个多小时后会因为内存溢出而崩溃。追踪后发现JQuery在实现局部刷新的过程中，由于内部机制会导致内存的增加。特别是在数据到达客户端并处理完后，内存使用增加明显（具体原因不明，应该是JQuery自身机制的问题。有明白的可以...]]></description>
      <category>JS/Ajax</category>
      <author>菜鸟老了</author>
      <pubDate>Sun, 05 Sep 2010 19:50:00 +0800</pubDate>
    </item>
    <item>
      <title>javascript apply &amp; call</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMDMx.html</link>
      <description><![CDATA[call和apply方法 call方法可改变上下文this指针，类似的方法还有apply，主要用在js对象各方法互相调用的时候，使当前this实例指针保持一致,或在特殊情况下需要改变this指针。 obj1.method1.call(obj2,argument1,argument2) 如上，call的作用就是把obj1的方法放到obj2上使用，后面的argument1&#8230;这些做为参数传入...]]></description>
      <category>JS/Ajax</category>
      <author>waynecn</author>
      <pubDate>Sun, 05 Sep 2010 18:01:00 +0800</pubDate>
    </item>
    <item>
      <title>我的JavaScript之旅——从Scope Chain到Closure</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMDE4.html</link>
      <description><![CDATA[&nbsp;

a = 1;function Outer(x){      function Inner(y){return x + y;}      return Inner}var inner ...]]></description>
      <category>JS/Ajax</category>
      <author>菜阿彬</author>
      <pubDate>Sun, 05 Sep 2010 16:46:00 +0800</pubDate>
    </item>
    <item>
      <title>JS使用小记</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMDA4.html</link>
      <description><![CDATA[项目中使用JS时一些小记
1、if($("#span_proposalId").html()==""||$("#span_proposalId").html()==null) 在firefox中html()方法将换行获取为\n，此方法永远为false，span_proposalId中的内容不能有空的换行]]></description>
      <category>JS/Ajax</category>
      <author>alahfun</author>
      <pubDate>Sun, 05 Sep 2010 15:45:00 +0800</pubDate>
    </item>
    <item>
      <title>javascript弹出窗口详解</title>
      <link>http://www.phpfans.net/article/htmls/201009/Mjk5OTg5.html</link>
      <description><![CDATA[
一、 弹出窗口的基本属性设置
&nbsp;



&lt;SCRIPT LANGUAGE="javascript"&gt; &lt;!-- window.open ('page.html', 'newwindow', 'height=100, width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=no,resizable=no,...]]></description>
      <category>JS/Ajax</category>
      <author>夕陽茶</author>
      <pubDate>Sun, 05 Sep 2010 14:07:00 +0800</pubDate>
    </item>
    <item>
      <title>Javascript create Object(define new Class)</title>
      <link>http://www.phpfans.net/article/htmls/201009/Mjk5OTgw.html</link>
      <description><![CDATA[JavaScript创建新类(或对象)的方法主要有以下几种：工厂方式、构造函数式、原型方式、混合的构造函数/原型方式、动态原型方法、混合工厂方式。 
1.工厂方式：
<img id="code_img_closed_eba583c5-d6b9-48d6-8d0f-ac1a83144fdd" class="code_img_closed" alt="" src="http://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif" /><img style="display: none" id="code_img_opened_eba583c5-d6b9-48d6-8d0f-ac1a83144fdd" class="code_img_opened" onclick="cnblogs_code_hide('eba583c5-d6b9-48d6-8d0f-ac1a83144fdd',event)" src="http://images.cnblogs.com/OutliningIndicators/ExpandedBlockStart.gif">工厂方式 

function&...]]></description>
      <category>JS/Ajax</category>
      <author>Jackie Zhang</author>
      <pubDate>Sun, 05 Sep 2010 13:00:00 +0800</pubDate>
    </item>
    <item>
      <title>js如果判断select是否选中或选中指定项</title>
      <link>http://www.phpfans.net/article/htmls/201009/Mjk5OTcw.html</link>
      <description><![CDATA[&nbsp;网站中的表单是和用户交互或收集用户信息的窗口,为了准确高效的工作,就要对用户键入的内容进行有效性的判断,和及时做出人性化的提示! 
&nbsp;&nbsp;&nbsp; 下面是表单内容判断中经常用到的语句,有判断输入的内容是否为空的(可以判断用户名),有判断是否为数字,并且为整型的数字(可判断是否手机号,邮编等数字),有判断是否为指定长度的(身份证号,手机号都是固定长度),有判断是否为...]]></description>
      <category>JS/Ajax</category>
      <author>cms kentico</author>
      <pubDate>Sun, 05 Sep 2010 11:32:00 +0800</pubDate>
    </item>
    <item>
      <title>如何管理庞大的Ajax请求？</title>
      <link>http://www.phpfans.net/article/htmls/201009/Mjk5OTY4.html</link>
      <description><![CDATA[随着Ajax的流行，现在的项目使用Ajax已经很普遍了，可以说是大量的使用Ajax了。由于存在大量的Ajax请求，变得难于管理。于是我们经常统一请求，唯一页面或者唯一的入口。于是便有以下类似的代码：
public partial class Ajax : System.Web.UI.Page
    {
        protected void Page_Load(object sender,...]]></description>
      <category>JS/Ajax</category>
      <author>chingho</author>
      <pubDate>Sun, 05 Sep 2010 11:15:00 +0800</pubDate>
    </item>
    <item>
      <title>sharepoint jquery</title>
      <link>http://www.phpfans.net/article/htmls/201009/Mjk5OTY5.html</link>
      <description><![CDATA[通过jQuery控制SharePoint展现&mdash;&mdash;计算栏KPI和标签云
====================SharePoint 2010应用开发系列--把JQuery框架集成到SharePoint中=======================
Query是我们在做SharePoint 2010开发的时候使用的比较频繁的JS类库。本文向大家介绍一种简单方便的方式，把JQ...]]></description>
      <category>JS/Ajax</category>
      <author>icedog</author>
      <pubDate>Sun, 05 Sep 2010 11:15:00 +0800</pubDate>
    </item>
  </channel>
</rss>