发送按钮单击时没有任何反应

发送按钮单击时没有任何反应

本文介绍了发送按钮单击时没有任何反应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞!<html><head><title>Daily Trip Logsheet</title></head><body><p> Please Put Details </p>Dry Run: <input id="DryRun" type="text" placeholder="in Km"><button id="ButtonSubmit" onclick="postContactToGoogle()" type="button">Post</button><script>function postContactToGoogle(){var dryrun = $('#DryRun').val();$.ajax({url: "https://docs.google.com/forms/d/1iHuOmQx0hXKH6DGb2GNUc-yu-0Iiv9PDkKPgAXX3Ldc/formResponse",data:{"entry_1438934548"}type: "POST",dataType: "xml",statusCode: {0:function () {window.location.replace("ThankYou.html");}, 200: function () {window.location.replace("ThankYou.html");}}});}</script><script src="http://code.jquery.com/jquery-1.11.0.js"></script><script type="text/javascript"></script></body></html> SHOUTING已删除 - OriginalGriff [/ edit][edit]SHOUTING removed - OriginalGriff[/edit]推荐答案 SHOUTING已删除 - OriginalGriff [/ edit][edit]SHOUTING removed - OriginalGriff[/edit]function postContactToGoogle(){ // jQuery runs under this event 这篇关于发送按钮单击时没有任何反应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-31 04:02