Sorry, I didn't see your reply, this list is pretty high-traffic.
I tried it, but it doesn't give me an error. The POST returns a 200 OK.
What I do notice is that after I click the button, I get a page reload,
so I think you need to put a 'return false;' in there somewhere to stop
the form from getting submitted.
It's also a nice idea to use submit() instead of click(), to catch
people that use keyboard shortcuts and the like.
so use:
$("form#myform").submit(function()...
instead of
$("button").click(function()...
Jonathan
Mark wrote:
Can anybody find anything what i did wrong?
the only code that is not commented out in the handler.php is
<?php
print_r($_POST);
?>
To show me what kind of values it gets and how it looks in an array so
i can make an associative of it.
On Jul 7, 3:01 pm, Mark <johanns.m...@gmail.com> wrote:
http://webserver.c4v.nl/mark/agenda%20nieuw/agenda.php for the
main filehttp://webserver.c4v.nl/mark/agenda%20nieuw/handler.php for the
handlerhttp://webserver.c4v.nl/mark/agenda%20nieuw/agenda.css for the
csshttp://webserver.c4v.nl/mark/agenda%20nieuw/jquery-1.3.2.js for the
java sript librarie
You can see all the files here and test what is going wrong.
(the notes u see in the handler.php are in dutch made for my
internship boss so hecan easy can see what i have done but he hasnt
time to help me time = money:s )
On Jul 7, 10:09 am, "Jonathan Vanherpe (T & T NV)" <jonat...@tnt.be>
wrote:
Mark wrote:
Are you sure 'handler.php' exists? 'POST' isn't typically an error,
unless the server returns a 404 or internal server error (500), in which
case Firebug will show it in red.
It would be nice if you uploaded your stuff somewhere (preferably
reduced as a testcase).
Jonathan
--
Jonathan Vanherpe - Tallieu & Tallieu NV - jonat...@tnt.be
--
Jonathan Vanherpe - Tallieu & Tallieu NV - jonat...@tnt.be