<br />
<b>Deprecated</b>:  mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in <b>/www/wwwroot/ipda.org.cn/source/class/discuz/discuz_database.php</b> on line <b>177</b><br />
<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
  <channel>
    <title>天空小小岛技术网站 - Javascript</title>
    <link>http://tkxxd.net/forum-16-1.html</link>
    <description>Latest 20 threads of Javascript</description>
    <copyright>Copyright(C) 天空小小岛技术网站</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Mon, 01 Jun 2026 05:10:23 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://tkxxd.net/static/image/common/logo_88_31.gif</url>
      <title>天空小小岛技术网站</title>
      <link>http://tkxxd.net/</link>
    </image>
    <item>
      <title>字符串转json较通用的方法</title>
      <link>http://tkxxd.net/thread-1838-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>Javascript</category>
      <author>s.Bo</author>
      <pubDate>Thu, 14 Aug 2014 08:42:23 +0000</pubDate>
    </item>
    <item>
      <title>使用iFrame模拟Ajax提交</title>
      <link>http://tkxxd.net/thread-1244-1-1.html</link>
      <description><![CDATA[在ajax未出现之前为了实现向服务器端提交数据而不刷新页面的效果，大多数采用的就是这种隐藏iFrame的方法。下面就简要介绍一下这个方法：
1、处理思路：
假设FormA是我们要提交数据的Form，正常来说，向服务端提交数据后，返回的response会刷新当前的Form，也就是页面 ...]]></description>
      <category>Javascript</category>
      <author>s.Bo</author>
      <pubDate>Fri, 15 Nov 2013 01:55:34 +0000</pubDate>
    </item>
    <item>
      <title>Javascript的异常处理介绍</title>
      <link>http://tkxxd.net/thread-1243-1-1.html</link>
      <description><![CDATA[1、错误报告、错误处理以及代码调试，一直被认为是JavaScript的弱项，直到ECMAScript3和ECMAScript4的退出才得到改善。在ECMAScript中将JS的错误分为语法错误（ERROR）和运行期错误（Exception）。

2、不同的浏览器对于异常的处理策略不一样，下面列出了一些常用浏览 ...]]></description>
      <category>Javascript</category>
      <author>s.Bo</author>
      <pubDate>Fri, 15 Nov 2013 01:51:33 +0000</pubDate>
    </item>
    <item>
      <title>js中判断对象非空的方法</title>
      <link>http://tkxxd.net/thread-1238-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>Javascript</category>
      <author>s.Bo</author>
      <pubDate>Tue, 12 Nov 2013 06:30:32 +0000</pubDate>
    </item>
    <item>
      <title>动态加载JS脚本的几个方法,记录一下</title>
      <link>http://tkxxd.net/thread-391-1-1.html</link>
      <description><![CDATA[1、document.write
document.write 必须在加载页面的过程中使用，否则将复写整个页面；如果用一些异步方法把内容写进页面Body中是不行的，因为IE无法被脚本所阻塞，无法要求加载过程中断，无法保证加载后脚本具体执行的情况2、动态改变已有script的src属性3、动态创建s ...]]></description>
      <category>Javascript</category>
      <author>s.Bo</author>
      <pubDate>Mon, 05 Nov 2012 02:33:15 +0000</pubDate>
    </item>
    <item>
      <title>解决IE下innerHTML中的style标签无效的方法</title>
      <link>http://tkxxd.net/thread-369-1-1.html</link>
      <description><![CDATA[代码chrome 下有效果，ie6 下无效果

在  前面加  就好了
如下：于是乎，ie 下也正常了]]></description>
      <category>Javascript</category>
      <author>一粒米</author>
      <pubDate>Wed, 11 Jul 2012 14:02:27 +0000</pubDate>
    </item>
    <item>
      <title>getYear 和 getFullYear</title>
      <link>http://tkxxd.net/thread-322-1-1.html</link>
      <description><![CDATA[分别在ie,firefox, chrome 下看以下代码显示效果ieff, chrome从 ECMAScript v3 开始，JavaScript 的实现就不再使用 getYear()，而使用 getFullYear() 方法取而代之！]]></description>
      <category>Javascript</category>
      <author>一粒米</author>
      <pubDate>Wed, 04 Jan 2012 07:11:12 +0000</pubDate>
    </item>
    <item>
      <title>解决IFRAME跨域刷新,跨域操作JS的权限问题的一种办法</title>
      <link>http://tkxxd.net/thread-320-1-1.html</link>
      <description><![CDATA[问题:

主页面为:

页面1:http://www.a.com/page1.html

iframe另一个页面

页面2:http://www.b.com/page2.html

该两个页面不同域,因此 页面2 无法跨域对页面1的DOM及JS方法执行操作

解决方案以页面2刷新页面1为例)

step1:在页面1的同域 http://www. ...]]></description>
      <category>Javascript</category>
      <author>s.Bo</author>
      <pubDate>Sat, 31 Dec 2011 10:10:46 +0000</pubDate>
    </item>
    <item>
      <title>javascript 获取 checkbox 已经勾选的项</title>
      <link>http://tkxxd.net/thread-306-1-1.html</link>
      <description><![CDATA[例子：]]></description>
      <category>Javascript</category>
      <author>一粒米</author>
      <pubDate>Tue, 06 Dec 2011 09:16:58 +0000</pubDate>
    </item>
    <item>
      <title>迅雷、快车、旋风下载URL地址加密解密方法及源代码</title>
      <link>http://tkxxd.net/thread-172-1-1.html</link>
      <description><![CDATA[话不多说, 直接看附件]]></description>
      <category>Javascript</category>
      <author>一粒米</author>
      <pubDate>Wed, 26 May 2010 10:12:26 +0000</pubDate>
    </item>
    <item>
      <title>获取源对象和事件对象(懒人专用)</title>
      <link>http://tkxxd.net/thread-171-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>Javascript</category>
      <author>一粒米</author>
      <pubDate>Wed, 26 May 2010 10:08:45 +0000</pubDate>
    </item>
    <item>
      <title>Javascript keyCode 键盘键码值表</title>
      <link>http://tkxxd.net/thread-155-1-1.html</link>
      <description><![CDATA[keycode 0 =
keycode 1 =
keycode 2 =
keycode 3 =
keycode 4 =
keycode 5 =
keycode 6 =
keycode 7 =
keycode 8 = BackSpace BackSpace
keycode 9 = Tab Tab
keycode 10 =
keycode 11 =
keycode 12 = Clear
keycode 13 = Enter
keycode 14 =
keycode 15 ...]]></description>
      <category>Javascript</category>
      <author>一粒米</author>
      <pubDate>Wed, 12 May 2010 02:28:06 +0000</pubDate>
    </item>
    <item>
      <title>getElementById 方法及用法</title>
      <link>http://tkxxd.net/thread-109-1-1.html</link>
      <description><![CDATA[顾明思义，get-Element-By-Id，就是通过ID来设置/返回HTML标签的属性及调用其事件与方法。用这个方法基本上可以控制页面所有标签，条件很简单就是给每个标签分配一个ID号：

document.getElementById(\&quot;link\&quot;).href;
document.getElementById(\&quot;link\&quot;).target;
docume ...]]></description>
      <category>Javascript</category>
      <author>八号</author>
      <pubDate>Sat, 03 Oct 2009 07:20:50 +0000</pubDate>
    </item>
    <item>
      <title>innerHTML与innerText的用法与区别</title>
      <link>http://tkxxd.net/thread-108-1-1.html</link>
      <description><![CDATA[用法： 

 
   test1 test2 
 

在JS中可以使用： 

test.innerHTML: 

　　也就是从对象的起始位置到终止位置的全部内容,包括Html标签。 

　　上例中的test.innerHTML的值也就是“test1 test2 ”。 

test.innerText: 

　　从起始位置到终止位置的内 ...]]></description>
      <category>Javascript</category>
      <author>八号</author>
      <pubDate>Sat, 03 Oct 2009 04:19:26 +0000</pubDate>
    </item>
  </channel>
</rss>