Note that there are some explanatory texts on larger screens.

plurals
  1. POAjax not loading in IE
    primarykey
    data
    text
    <p>Here is the script. It works fine in all other browsers, so I thought it was a cache problem but not really. I have been banging my head for hours and nothing is working.</p> <pre><code>$.ajaxSetup({ cache: false }); $("#send").live('click', function () { console.log("AAAAA"); $("#loader").show(); $form = $('#reservationForm'); $inputs = $form.find('input[name^="entry"]'), serializedData = $('#reservationForm :input[name^="entry"]').serialize(); console.log(serializedData); serializedData += "&amp;pageNumber=0&amp;backupCache=1&amp;submit=Submit"; // fire off the request to /form.php $.ajax({ url: "https://docs.google.com/spreadsheet/formResponse?formkey=d", // url: "https://docs.google.com/spreadsheet/formResponse?formkey=d;ifq", type: "post", data: serializedData, // callback handler that will be called on success success: function (response, textStatus, jqXHR) { // log a message to the console console.log("Hooray, it worked!"); $("#loader").hide(); document.getElementById('error&lt;?php echo"$uname";?&gt;').innerHTML = error; $("#success").fadeIn(); setTimeout(function () { $("#success").fadeOut(); }, 5000); }, // callback handler that will be called on error error: function (jqXHR, textStatus, errorThrown) { // log the error to the console console.log("The following error occured: " + textStatus, errorThrown); alert('Due to an unknown error, your form was not submitted, please resubmit it or try later.'); }, // callback handler that will be called on completion // which means, either on success or error complete: function () { // enable the inputs $inputs.removeAttr("disabled"); } }); // prevent default posting of form event.preventDefault(); }); </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload