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. Quote Link to comment https://forums.phpfreaks.com/topic/292374-post-variable-help/ Share on other sites More sharing options...
Solution slj90 Posted November 9, 2014 Author Solution Share Posted November 9, 2014 solved Quote Link to comment https://forums.phpfreaks.com/topic/292374-post-variable-help/#findComment-1496170 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.