复制<scripttype=“text/javascript”src=https://www.hubeiqirui.com/a/dedejq/“http://apps.bdimg.com/libs/jquery/1.6.4/jquery.min.js”></script><script>function send(){
$.ajax({
cache:true,
type:“POST”,
url:“http://www.b.com/plus/diy.php”,
data:$(#diyform).serialize(),
xhrFields:{withCredentials:true},//ajax跨域提交需要
crossDomain:true,//ajax跨域提交需要
success:function(data){if(data==“success”){
alert(发送成功!);}else{
alert(发送失败!);}}});}</script><formaction=“”enctype=“multipart/form-data”method=“post”id=“diyform”><inputtype=“hidden”name=“action”value=“post”/><inputtype=“hidden”name=“diyid”value=“2”/><inputtype=“hidden”name=“do”value=“2”/><inputtype=“hidden”name=“dede_fields”value=“name,text”/><inputtype=“hidden”name=“dede_fieldshash”value=“c2be5bb5ec45d9d01ca9f60dc469b3fb”/><p>
姓名:
<inputtype=textname=nameid=name/></p><p>
验证码:
<inputtype=“text”name=“validate”><imgsrc=https://www.hubeiqirui.com/a/dedejq/“http://www.b.com/include/vdimgck.php”align=“absmiddle”onclick=“this.src=http://www.hubeiqirui.com/a/dedejq/http://www.b.com/include/vdimgck.php?tag=+Math.random();“style=“cursor:pointer;“></p><divonclick=“send()“>提交</div></form>