but then I'd probably not get any answer at all. I do get an answer, just not one filled with the data I try to send.

On 7 May 2007, at 23:55, Equand wrote:


maybe it doesn't like this
"/scripts/login.php"?
"./scripts/login.php" might help...

On May 7, 4:36 pm, Massimiliano Marini <[EMAIL PROTECTED]> wrote:
I'm sending something like this
$.post("/scripts/login.php",{u:"USER",p:"PASS",r:"STAY"},function (txt)
{$("div#"+div).html(txt);});

$.post("/scripts/login.php",
        {u:"USER",p:"PASS",r:"STAY"},function(data){
                $("#response").append(data).show('fast');
        });

create a <div id="response"></div>

try this code and let me know if work.

P.S.: My advice is to use firebug for a better debug detail.

--
Massimiliano Marini -http://www.linuxtime.it/massimilianomarini/
"It's easier to invent the future than to predict it."  -- Alan Kay


Reply via email to