[jQuery] Re: How do I get post data to go with it?

2008-05-11 Thread Jón Helgi Jónsson
Oh thats beautiful, thank you! On Sun, May 11, 2008 at 10:17 PM, Jason Huck <[EMAIL PROTECTED]> wrote: > > You're pretty close, but you don't need *both* $.post() and .load(). > Just pick one or the other. Using .load() is a little bit simpler, but > I believe it uses GET behind the scenes: > >

[jQuery] Re: How do I get post data to go with it?

2008-05-11 Thread Jason Huck
You're pretty close, but you don't need *both* $.post() and .load(). Just pick one or the other. Using .load() is a little bit simpler, but I believe it uses GET behind the scenes: $(function(){ $('#yourbutton').click(function(){ $('#submit_result').load('test.php', { inp