View Single Post
Old 01-22-2012, 02:32 PM   PM User | #2
sunfighter
Senior Coder

 
Join Date: Jan 2011
Location: Missouri
Posts: 2,395
Thanks: 18
Thanked 351 Times in 350 Posts
sunfighter is on a distinguished road
The very first line in your js kills the function
var user = document.getElementById('username2').value;
You have no username2 ID. But you have a username ID. Maybe a misprint?

BUT Biggest question is "Why come back from ajax_info.php to submit again to the server? Why not have ajax_info.php call fbauthorize.php? Or just include the code of fbauthorize.php into ajax_info.php and make the alert(xmlhttp.responseText) say Mission accomplished data stored.'"?
sunfighter is offline   Reply With Quote