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 id =
contactSection.
if you want to pass data to the server you can still use .load()

$("#contactSection").load('somepage.asp', {module: "AP"});

the default behaviour for .load() is POST.
you can even add a callback function at the end of the chain:

$("#contactSection").load('somepage.asp',
 {
    "var1": "value",
    "var2": 45
 },
 function(){
    // do something
 });

Reply via email to