jquery - scripting a google docs form submission -


I am trying to open a book that parses a page and sends the results through such a form Ve is defined, Ve.

The old bit of the script is:

  var format = document.createElement ("form"); Form.action = "http://spreadsheets.google.com/formResponse?formkey=Fd0SHgwQ3YwSFd5UHZpM1QxMlNOdlE6MA&ifq"; Form.method = "POST"; Form.id = "ss form"; Form.innerHTML = ["& lt; input id = 'entry_0' name = 'entry .0.single' value = '" + order date "/ /" "," & lt; Input name = 'entry.2.single' value = '"+ + email +"' /> "," & Lt; Input name = 'entry.3.single' value = '"+ customerID +"' / / gt; ",]. (" "); Form.submit (); Alert (form.innerHTML);  

// Returns:

Some through bookmarket Not even saving in the form - is there any way to capture Google's feedback in my bookmarklet code? (Fwiw, I have jQueryify injected via jQueryify)

Edit: < / P>

Firebug's Net panel is not listening to any activity triggered by bookmaker - how do I get it to goolgle formresponse instead of and

How can I say about injection and then during the script, I can present through the script through the script which is being read on the page?

If you are already using jquery, then form all through ajax ($ .jax) Try to comments. You can set up a successful function Google sends its response.

Alternatively you should be able to use firebug to see the response sent to Google.

Especially I thought you could try something like the following:

  $ Ajax ({url: "http://spreadsheets.google.com/formResponse", data: {formkey: "Fd0SHgwQ3YwSFd5UHZpM1QxMlNOdlE6MA & amp; ifq", "Entry .0.low": Order Date, "Entry.2.l सिंगल" : Email, "entry.3.single": customerID}, type: "post", data type: "XML", success: work (data, console.log ("success"); console.log (data);} , Error: function (XMLHttpRequest, textStatus, errorThrown) {console.log ("error"); console.log (textStatus);},})  

Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -