views:

55

answers:

1
+3  A: 

Interesting. I can't find anything in the RFC but it stands to reason that there is no way to pass parameters using the DELETE methods - only in GET and POST, so either JQuery or the browser correctly filter out the parameters. This is just a guess, though, maybe somebody who knows this stuff by heart can make a more profound statement.

Anyway, if this is how JQuery works right now, I think your workaround will have to be putting the ID into the URL, and mod_rewrite it out.

Before you do that, try whether you can't trick the browser in passing it through by adding the parameter to the URL: sitesCtrl.url+'?ID='+id

Pekka
Nice phrasing, logical assumptions, RFC, voted up.
karim79
Pekka, thnx for answer. Some time before, i worked with project on cherrypy + ExtJS, and DELETE requests from ExtJS to CP ran quite fast and without any additional problems :)
Anthony Koval'