[jQuery] Re: Convert from AjaxRequest to jQuery/ajax

2009-02-08 Thread Tim Johnson
On Sunday 08 February 2009, pedalpete wrote: > Sorry Tim, I didn't understand it that way. :-) > You should still be able to do this fairly simply. Looks like I will also have to use a wrapper to get the form using the 'this' keyword, since I work with multiple forms. I think I can get what I

[jQuery] Re: Convert from AjaxRequest to jQuery/ajax

2009-02-08 Thread pedalpete
Sorry Tim, I didn't understand it that way. You should still be able to do this fairly simply. You don't have to specify the url, you can pass it as a variable. But you would need to put your $.ajax function into another function, and call it when clicked. You can also build the data variables

[jQuery] Re: Convert from AjaxRequest to jQuery/ajax

2009-02-08 Thread Tim Johnson
On Sunday 08 February 2009, pedalpete wrote: > I believe the code you are looking for would be something like this Hi pedalpete: Thanks you for the quick response. > [code] > $('form').submit(function(){ > var cell1 = $('#cell1').html(); > var div1= $('#div1").html(); > var span1=$('#span1").html(

[jQuery] Re: Convert from AjaxRequest to jQuery/ajax

2009-02-08 Thread pedalpete
I believe the code you are looking for would be something like this [code] $('form').submit(function(){ var cell1 = $('#cell1').html(); var div1= $('#div1").html(); var span1=$('#span1").html(); $.ajax({ type: "GET", url : 'urlToGet.php', data: 'cell1='+cell1+'&div1='+d