slj90 Posted November 9, 2014 Share Posted November 9, 2014 Why isn't this working? function friendFunction(){ v=$("Donald"); $.post('./action/friendaction.php',{ user:v.val()},function(d){ alert(d) }); } It works if I change it to user:"bob" though. Link to comment https://forums.phpfreaks.com/topic/292374-post-variable-help/ Share on other sites More sharing options...
slj90 Posted November 9, 2014 Author Share Posted November 9, 2014 solved Link to comment https://forums.phpfreaks.com/topic/292374-post-variable-help/#findComment-1496170 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.