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:
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
I used $(document).ready(function() {
$(from#myfrom).submit(function() {
now it doesn't give an error anymore so far i can see.
So now only try to figure out how to post the value's with out the
reload and then im going to make a callback to a new div and print the
php array
This should stop the form from submitting (untested):
$(f...@myform).submit(function() {
$.post('handler.php', {
jaar:$('#jaar').val(),
maand:$('#maand').val(),
Ty just found it my self to and it works i think this topic is done ty
for your help!!
On Jul 8, 11:37 am, Jonathan Vanherpe (T T NV) jonat...@tnt.be
wrote:
This should stop the form from submitting (untested):
$(f...@myform).submit(function() {
the html is pretty long but here is the complete document
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en
head
titleagenda/title
Mark wrote:
I have 3 drop down menu's where is post the value's bij a button.click
(see code below).
But when i push the button i see an error in fire bug POST
http://localhost/agenda nieuw/handler.php 67ms jquery-1.3.2.js(line
3633)
I looked online for awnsers but couldn't find any. Maybe you
http://webserver.c4v.nl/mark/agenda%20nieuw/agenda.php for the
main file
http://webserver.c4v.nl/mark/agenda%20nieuw/handler.php for the
handler
http://webserver.c4v.nl/mark/agenda%20nieuw/agenda.css for the
css
http://webserver.c4v.nl/mark/agenda%20nieuw/jquery-1.3.2.js for
Well, firebug shouldn't have cared as much as IE would, because of a
comma inside the list of params in your POST. The last element in an
object can't have a comma.
Also, could you post the HTML?
On Jul 6, 8:49 am, Mark johanns.m...@gmail.com wrote:
I have 3 drop down menu's where is post the
9 matches
Mail list logo