最贊回答 / 慕容8388568
因為插件中有個條件if (p1 > p2) { //如果傳入的參數(shù)前者大于后者intResult = parseInt(p1) - parseInt(p2);}return intResult;只有p1大于p2才會轉(zhuǎn)為整數(shù)進行運算,當(dāng)用戶輸入3-9的時候,其實3是小于9的,后者加個0在編碼中3>09,符合條件后轉(zhuǎn)整運算
2017-05-18
最新回答 / 慕容8388568
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>挑戰(zhàn)題</title><script src="http://libs.baidu.com/jquery/1.9.1/jquery.js"></script></head><body>...
2017-05-16
最新回答 / qq_說些什庅_0
本地調(diào)用本地的php,還是慕課網(wǎng)網(wǎng)上的php文件?