I want get the values of the form into my 'getdata.php'. Actually its a form wizard that I found while searching.
Below is the javascript:-
<script type="text/javascript">
$(function(){
$("#demoForm").formwizard({
formPluginEnabled: true,
validationEnabled: true,
focusFirstInput : true,
formOptions :{
success: function(data){$("#status").fadeTo(500,1,function(){ $(this).html("You are now registered!").fadeTo(5000, 0); })},
beforeSubmit: function(data){$("#data").html("data sent to the server: " + $.param(data));},
dataType: 'json',
resetForm: true
}
}
);
});
</script>
When i click submit its prints this:-
data sent to the server: firstname=jackie&surname=chan&day=DD&month=MM&year=YYYY&lastFour=XXXX&countryPrefix=%2B358&areaCode=&phoneNumber=&myemail=sdfdf%40hotmdei.cpo&username=sdfds&password=sdfsd&retypePassword=fsdfdsf
But what i want is to send thaose values to my 'getdata.php' so that i can save them into the database.
Need help please!!!!!!!
Thanks..