jquery ajax提交错误定义方法
$.ajax({
..
success:function(json)
{
..
}
error: function(XMLHttpRequest, textStatus, errorThrown) {
alert(textStatus);
}
});
$.ajax({
..
success:function(json)
{
..
}
error: function(XMLHttpRequest, textStatus, errorThrown) {
alert(textStatus);
}
});
发现一个好东西:备忘先,该源码类提供一些windows 7 或者vista中特性的东西
http://code.msdn.microsoft.com/WindowsAPICodePack
Windows® API Code Pack for Microsoft® .NET Framework
Today I went out comp. it seems big dust is blowing,look closer is the snow.of course it diffierent of yesterday's
which called sleet. it means rain and snow togather.rain contains snow.Today I want's learn jquery.contains().
jQuery.contains( container, contained )
Returns: Boolean
sample :
一个取整Truncate,一个包含小数Round
decimal pi = (decimal)System.Math.PI;
decimal decRet = System.Math.Truncate(pi);//取整数部分3
double trouble = 5.555;
double dblRet = System.Math.Truncate(trouble);//取浮点数部分5.0
double ddround=System.Math.Round(trouble,2);显示为5.56 4舍五入,保留几位小数,2表示2位
I haved'n write blog a few days, sometimes want's write something,but didn't,after a few days, of course forgot almost几天没写,有时想写,但是没写,结果忘了差不多了。转化为10进制,使用的是convert.ToInt32(string,原来的进制数)。例子如下:
下载地址:http://www.red-gate.com/products/reflector/index.htm
参考:http://visualstudiogallery.msdn.microsoft.com/zh-cn/95789cdb-08f9-4dae-9b2f-fc45a452ad77
英文使用方法:
.NET Reflector Pro is an add-in to Visual Studio that lets you debug third-party code and assemblies, even if you don't have the source.
javascript minu convert hour
this is a simple javascript minu convert hour sample,i from 0 hour to count 24 hour. I haven't test it,just mark it ! source:
这是一个简单分和小时转换计算,从0小时计算到24小时。我还未测试,源码如下:
这里不提供下载(Your can search in google or baidu)
1.APMServ5.2.6
2.phpStudy
3.其它 一些php cms 开源站也有类似的集成环境
renctly my gum hurts ,it's very painful.
today i find some forefront vedio in channel9 in http://channel9.msdn.com/
ok,this's my first englis blog,i really to need to partice my english!