diff options
author | Unknown Name <steve9000> | 2014-12-10 09:59:34 +0000 |
---|---|---|
committer | Unknown Name <steve9000> | 2014-12-10 09:59:34 +0000 |
commit | acb3ee1a7f916ce89a1615d9df96758ff6e52234 (patch) | |
tree | 706b0b907a6d4a86ad3d4b560a3a47c102a40bc6 | |
parent | 1c7af2e8f3da1aa2ba0d535196446f8e79809943 (diff) | |
download | cherrypy-acb3ee1a7f916ce89a1615d9df96758ff6e52234.tar.gz |
Fix PUT request - it wasn't submitting the input field, only a blank string
-rw-r--r-- | docs/tutorials.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorials.rst b/docs/tutorials.rst index d063ebcf..dea1a079 100644 --- a/docs/tutorials.rst +++ b/docs/tutorials.rst @@ -600,7 +600,7 @@ Save the following HTML code into a file named `index.html`. $.ajax({ type: "PUT", url: "/generator", - data: {"another_string": $("#the-string").val()} + data: {"another_string": $("#the-string input").val()} }) .done(function() { alert("Replaced!"); |