FireBug的Bug
我在使用firebug,调我的ajax程序,我会查看它的输出的json,如下图,但是你会发现,它的输出会重复三次,这个是怎么回事,我特地还做了一个简单的页面进行了测试
<! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
< HTML >
< HEAD >
< TITLE > New Document </ TITLE >
< META NAME ="Generator" CONTENT ="EditPlus" >
< META NAME ="Author" CONTENT ="" >
< META NAME ="Keywords" CONTENT ="" >
< META NAME ="Description" CONTENT ="" >
<!--
gtalk:frederick.mao@gmail测试数据
http://lexus.cnblogs测试数据
erick write at beijing
-->
< link rel ="stylesheet" type ="text/css" href ="" />
< script src ="jquery-1.2.6.min.js?id=200123701" type ="text/javascript" ></ script >
< style type ="text/css" >
</ style >
</ HEAD >
< BODY >
</ BODY >
</ HTML >< script type ="text/javascript" >
$.post( ' test_ajax2.py ' ,{
sessionid: ' sessionid ' ,
queryid: ' 2009425_133335269_642 ' ,
email: ' frederick.mao@gmail测试数据 ' ,
bookname: ' 杜拉拉 '
}, function (data){alert(data)})
</ script >
sorry,可能是我机子中病毒了,后来用httpAnalyalzer似乎是有程序不停在在向外post,