I am new to doing Ajax request and have put together the following Pastie. Line 107 is my $.PUT and is throwing an error in firebug that $.PUT does not a function. As for the aj
See the simple and clean answer here: https://stackoverflow.com/a/11549679/916632 Just change the type value to "PUT".
Also handles the 415 response that might be causing problems for others (it blocked me). Also the 400 response in terms of the data object sent.