iPhone8手机什么都没弹出,这是为什么呢???<!DOCTYPE html><html><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title></head><body> <button id="btn">click me</button> <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script> <script> $('#btn').on('click', function() { var formdata = new FormData(); formdata.set('key', 'value'); alert(formdata.get('key')); }); </script></body></html>
添加回答
举报
0/150
提交
取消