[jQuery] Re: Problems with $.post and $.ajax

2007-09-30 Thread Oscar from Sweden
I love u guys. It worked! What possibilities I got, mohaha ;)

[jQuery] Re: Problems with $.post and $.ajax

2007-09-30 Thread Oscar from Sweden
Thank you for your answer and your time. I thought that the callback was only a "the post was successfull" and not any important things to do. I shall try your code right now ! thx.

[jQuery] Re: Problems with $.post and $.ajax

2007-09-30 Thread Jean
or can use $_REQUEST ;D On 9/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I'm trying to learn jQuery so I can use ajax much easier than writing > > ordinary javascripts. But it isn't working for me. Tried soo many > > different (and Very easy) things and they won't work. Can someone

[jQuery] Re: Problems with $.post and $.ajax

2007-09-28 Thread [EMAIL PROTECTED]
> I'm trying to learn jQuery so I can use ajax much easier than writing > ordinary javascripts. But it isn't working for me. Tried soo many > different (and Very easy) things and they won't work. Can someone > explain what I am doing wrong? > This is just a little testpage. > custom.js: > ---

[jQuery] Re: Problems with $.post and $.ajax

2007-09-28 Thread Oscar from Sweden
It works if I use $("div.hej").load("test.php?namn="+$ ("#namn").val() ) But I want to use post because I can't write f.e Ö...

[jQuery] Re: Problems with $.post and $.ajax

2007-09-28 Thread Marc Jansen
Hi Oscar from Sweden, works loke a charm for me (using PHPs superglobal $_POST), it seems as if you just forgot to add a callbackfunctionthat is going to handle the servers response. $( document ).ready( function () { $( "a#go" ).click(function () { $.post("test.php", { namn: $( "