jquery中formdate一直獲取不到對象中的[0]的值 包括本身也是一個空的數(shù)據(jù)怎么辦?再做一個前臺的ajax方法 查網(wǎng)上用formdate方法上傳??墒沁M了接口之后一直在控制臺獲取不到formdate的值包括formdate[0]的值也一樣 接口應(yīng)該是沒有問題 因為用傳統(tǒng)的表單submit提交也是可以提交上傳的。以下是代碼:請大神幫忙~js部分:模型部分: <form id="uploadForm"> <img id="img" class="userBigAvatar" src="abroad/images/product_info/product_img3.jpg" alt=""> <input id="upfile" name="file" type="file" class="upfile"> <img src="abroad/images/product_info/arrow_right.png" alt=""> </form> </a> 求大神幫忙~
jquery中formdate一直獲取不到對象中的[0]的值 包括本身也是一個空的數(shù)據(jù)怎么辦?
炎炎設(shè)計
2018-11-22 18:15:06