[jQuery] Help with $.ajax() function

2008-09-23 Thread Bockit
Can't work this out myself so turning to others, chances are I'm missing something small, but let's see. I'm trying to use the $.ajax() function in my app, however it just isn't sending the GET data when I click on the link. $(document).ready(function(){ $("#peep").click(

[jQuery] Help with $.ajax function

2007-06-20 Thread c19h28o2
Hi, I'm a little unsure on how the $.ajax function works in terms of returning a value. I would like the below to insert the returned values into a div. but i'm unsure what would go into the t() function. $.ajax({ type: "POST", url: "autocomplete.php", data: "