I love u guys. It worked! What possibilities I got, mohaha ;)
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.
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
> 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:
> ---
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 Ö...
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: $( "
6 matches
Mail list logo