[jQuery] Re: Post to Preloaded AJAX Page?

2008-02-02 Thread andrea varnier
On 1 Feb, 21:33, Pete <[EMAIL PROTECTED]> wrote: > So can I post to default.asp#contactSection or > "#contactSection somepage.asp" or do I need additional parameters? you just need to do $("#contactSection").load('somepage.asp'); and that's all, somepage.asp will be loaded into the element with

[jQuery] Re: Post to Preloaded AJAX Page?

2008-02-01 Thread Pete
That makes sense but I'm still not sure where/how to post it. The main page is 'default.asp'. 'somepage.asp' is loaded into a div (#contactSection). So can I post to default.asp#contactSection or "#contactSection somepage.asp" or do I need additional parameters? On Feb 1, 12:45 pm, andrea varn

[jQuery] Re: Post to Preloaded AJAX Page?

2008-02-01 Thread andrea varnier
On Feb 1, 8:28 pm, Pete <[EMAIL PROTECTED]> wrote: > $('a.module').click( function() { >         $.post('somepage.asp', { >                 module: 'AP' >         }, function() { >         document.write(module)); >         }); >         return false; > > }); Hi :) you need to modify the $.post r