On Tue, Dec 15, 2015 at 11:05 PM, Simon Charette wrote:
> Hi Larry,
>
> It's more of a JavaScript question but my first guess would be
> you'd need to use the `type` option instead of `method` because
> you are using an old version of jQuery?
That was it. Thank you so much!!
> Le mardi 15 décemb
Hi Larry,
It's more of a JavaScript question but my first guess would be
you'd need to use the `type` option instead of `method` because
you are using an old version of jQuery?
Simon
Le mardi 15 décembre 2015 17:25:12 UTC-5, larry@gmail.com a écrit :
>
> I am sending an ajax POST request lik
$.post( "ajax/test.html", function( data ) {
$( ".result" ).html( data );
});
Em terça-feira, 15 de dezembro de 2015 20:25:12 UTC-2, larry@gmail.com
escreveu:
>
> I am sending an ajax POST request like this:
>
> $.ajax({
> url: url,
> method: 'POST',
> dataType: "json",
>
On Tue, Dec 15, 2015 at 5:45 PM, Daniel Chimeno wrote:
> Hello,
>
> This is more a jQuery issue than a Django one, but it could be because of
> the quotes.
>
> From: http://api.jquery.com/jquery.ajax/
>
> var menuId = $( "ul.nav" ).first().attr( "id" );
> var request = $.ajax({
> url: "script.p
Hello,
This is more a jQuery issue than a Django one, but it could be because of
the quotes.
From: http://api.jquery.com/jquery.ajax/
var menuId = $( "ul.nav" ).first().attr( "id" );
var request = $.ajax({
url: "script.php",
method: "POST",
data: { id : menuId },
dataType: "html"
});
I am sending an ajax POST request like this:
$.ajax({
url: url,
method: 'POST',
dataType: "json",
data: {
recipe: recpie
}
})
But the request is being sent as a GET:
Request URL: http://127.0.0.1/api/update_measbox?recipe=MALBHDPOR
Request Method: GET
Status Code:200
6 matches
Mail list logo