Tuesday, January 19, 2010

Re: [jQuery] Simplae JQuery/Ajax question - GET variables

On Tue, Jan 19, 2010 at 11:06 AM, parot <russell@parotkefalonia.com> wrote:
> What I cannot do and I do not seem to get a sensible, easy to follow and
> understandable answer from knowledgeable JQuery people is find out how to
> pass the valiable trythis to the page tryit.php and then return the result,
> in this case a simple php echo.

I must misunderstand you...

var trythis = 57;
$.get("tryit.php", { trythis: trythis }, function(data) {
$("#resultsGoHere").html(data); });

Nathan

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate