jQuery form doesn't send

weopima

New Member
I have this weird situation where my form doesn't send any data, but the page (which should only be displayed when the data is send) is shown.I have this code now\[code\] [..] if(form == true){ var gender = $("input[@name='rgender']:checked").val(); var data = "http://stackoverflow.com/questions/3736176/name="+$("#name").val()+"&gender="+gender+"&country="+$("#country").val()+"&address="+$("#address").val()+"&zip="+$("#zip").val()+"&city="+$("#city").val()+"&mail="+$("#mail").val()+"&phone="+$("#phone").val()+"&checkin="+$("#checkin").val()+"&guests="+$("#guests").val()+"&time="+$("#time").val()+"&nights="+$("#nights").val()+"&remarks="+$("#remarks").val(); $.ajax({ url: "http://www.domain.nl/tmp/process.php", type: "GET", data: data, cache: false, success: function(){ $("#content").empty(); $("#content").load('http://www.domain.nl/tmp/process.php'); } }); f.preventDefault(); } [..]\[/code\]I checked the data string with an alert() before and that one is working wellMy php file looks like this, but i don't get any values\[code\]\[code\]<?phpecho("GET: ".$_GET['name']);?\[/code\]>\[/code\]
 
Back
Top