04 2008 档案
摘要:1. 水仙花数三位正整数、153=1~3 + 5~3+3~3For(int i=100; i<1000; i++){ Int bai = 0; Int shi = 0; Int ge = 0; Int baiYushu = 0; bai=i/100; baiYushu=i%100; shi = baiYushu /10; ge = baiYushu % 10; if(i== bai*bai*...
阅读全文
摘要:js对文字进行编码涉及3个函数:escape,encodeURI,encodeURIComponent,相应3个解码函数:unescape,decodeURI,decodeURIComponent1、 传递参数时需要使用encodeURIComponent,这样组合的url才不会被#等特殊字符截断。例如:<script language="javascript">document.wr...
阅读全文

浙公网安备 33010602011771号