On Wed, Jul 29, 2009 at 1:48 PM, shaf wrote:
> Ok guys, thats for the advice and replies.
> Cesar, if thats how you construct a GET string how would I construct a
> POST string ?
You don't need a single string.
$.ajax({
type: "POST",
async: false,
url: _HOMEDIR+"send.php",
data: {
aParameter:
s
Regards
- Original Message -
From: "shaf"
To: "jQuery (English)"
Sent: Wednesday, July 29, 2009 11:48 AM
Subject: [jQuery] Re: POST data not being sent
Ok guys, thats for the advice and replies.
Cesar, if thats how you construct a GET string how would I cons
Hi, I personally prefer to use $.getJSON for this sort of thing,
seems to do a better job with the JSON parsing and all that:
$.getJSON(_HOMEDIR+"send?"+str, ...
However, I'm wondering if "send" is actually the name of the file you
want to invoke? Perhaps you left the .php off in your url stri
span:last").text("Sending..").show();
>
> },
> ----- Original Message -----
> From: "Brett Ritter"
> To:
> Sent: Wednesday, July 29, 2009 10:20 AM
> Subject: [jQuery] Re: POST data not being sent
>
> > On Wed, Jul 29, 2009 at 12:16 PM,
str,
dataType: "json",
beforeSend: function() {
$("span:last").text("Sending..").show();
},
- Original Message -
From: "Brett Ritter"
To:
Sent: Wednesday, July 29, 2009 10:20 AM
Subject: [jQuery] Re: POST data not being sent
On Wed, Jul 29, 2009 at
On Wed, Jul 29, 2009 at 12:16 PM, Liam Potter wrote:
> also, don't delete the quoted
> posts, means everyone not using a web based group reader can follow the
> conversation.
However feel free to TRIM lengthy posts to the relevant parts.
Even non-web-based group readers support threading or sorti
tell us what happens when you submit the form, also, don't delete the
quoted posts, means everyone not using a web based group reader can
follow the conversation.
shaf wrote:
Thanks for the reply but that doesnt really answer my question.
Thanks for the reply but that doesnt really answer my question.
shaf wrote:
Hi Guys
I am trying to make an ajax POST request but its not working. Code
below:
var _HOMEDIR = "http://localhost/personal/index.php/home/";;
$(document).ready(function() {
$("form").submit(function() {
var str = $("form").serialize();
$.aj
9 matches
Mail list logo