js 獲取form 所有數(shù)據(jù)
2024-02-15 17:09:16
```javascript
var formData = new FormData(document.querySelector('form'));
```
這段代碼會(huì)獲取頁(yè)面上第個(gè)
```javascript
var formData = new FormData(document.querySelector('form'));
```
這段代碼會(huì)獲取頁(yè)面上第個(gè)