<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://jackxiang.com/post//</link>
<title><![CDATA[javascript 一条语句实现随机数]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Fri, 17 Sep 2010 11:18:22 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	<div class="code">Math.round(Math.random()*10000)</div><br/><br/><div class="code">alert(Math.round(Math.random()*10000)) </div><br/>使用如下：<br/><div class="code"><br/>&nbsp;&nbsp; var item = $(&quot;input:radio:checked&quot;);&nbsp;&nbsp;<br/>&nbsp;&nbsp; var checkedvalue = item.val();<br/>&nbsp;&nbsp; var fqq = $(&#039;#FVotedQQ&#039;).val();<br/>&nbsp;&nbsp; var frominvite = $(&#039;#frominvite&#039;).val();&nbsp;&nbsp; <br/>&nbsp;&nbsp; var random = Math.round(Math.random()*10000);<br/>&nbsp;&nbsp; var getaward = $.ajax(&#123;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;url: &quot;http://***.act.***.com/c/vote/add&quot;,<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;data:&quot;FVotedQQ=&quot;+fqq+&quot;&amp;kindid=&quot;+checkedvalue+&quot;&amp;frominvite=&quot;+frominvite+&quot;random=&quot;+random,<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;async: false<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#125;).responseText;<br/>&nbsp;&nbsp;&nbsp;&nbsp;eval(&#039;var data = &#039;+getaward);&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;alert(data.message);</div>
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] javascript 一条语句实现随机数]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>