Welcome! Log In Create A New Profile

Advanced

Using ajax with php

Posted by 45817995 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
Using ajax with php
March 22, 2013 11:44PM
Language: Javascript
//can any1 help on how to process all the form fields with an object in php i have created an //object in javascript using json syntax but dont knw how to accept the data in php script   var name = document.getElementById('name').value;   var pass = document.getElementById('pass').value;   var surname = document.getElementById('surname').value;   var gender = document.getElementById('gender').value;   var data = {"user": [ {"username":name, "password":pass, "surname":surname, "gender":gender} ]   }   //then in my send request i name my form userdata obj.send("userdata=" + data);

matsoso K
Sorry, only registered users may post in this forum.

Click here to login