ginerjm Posted March 10, 2012 Share Posted March 10, 2012 Normally, I submit forms with a submit button and check the value of that button in my script to see how to handle it. I'm learning how to use a type=button instead and having my js validation function do the submit. Now I discover that my script is not getting the value of the button object (naturally) so my script doesn't know what to do. How does one pass to the PHP script the button name from a JS function? My form is usually submitted with a POST. Quote Link to comment https://forums.phpfreaks.com/topic/258664-emulating-a-submit-button-with-js/ Share on other sites More sharing options...
ginerjm Posted March 10, 2012 Author Share Posted March 10, 2012 Solved . See my other post "onclick and submit - sequence" Quote Link to comment https://forums.phpfreaks.com/topic/258664-emulating-a-submit-button-with-js/#findComment-1325991 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.