FB.api('/me', function(userInfo) {
console.log(userInfo.email);
var emailid = userInfo.email;
console.log(emailid);
})
$.ajax({
url: 'index.php?r=tryon/saveemailid',
type:'post',
data:{'saveemail':emailid},
success : function(data){
alert("success!");
}
});
nileshbhanu 0 Nilesh bhanushali
nileshbhanu 0 Nilesh bhanushali
nileshbhanu 0 Nilesh bhanushali
nileshbhanu 0 Nilesh bhanushali
Alberto Bucur 0 Junior Poster
diafol
nileshbhanu 0 Nilesh bhanushali
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.