mubarakabbas Posted February 2, 2010 Share Posted February 2, 2010 Hi, How to toggle the Submit Button with Activate and Inactivate Button, if we click the button it wants to enable or disable and text wants to be change according to that. Thank you, Link to comment https://forums.phpfreaks.com/topic/190689-javascript-toggle-buttons/ Share on other sites More sharing options...
jammesz Posted February 3, 2010 Share Posted February 3, 2010 Can you please explain more clearly what you want to do? I can make a guess that you want to make the submit button disable and enable when something happens? In that case you can use this to do that: document.getElementById("submitButtonID").disabled=true; and document.getElementById("submitButtonID").disabled=false; Link to comment https://forums.phpfreaks.com/topic/190689-javascript-toggle-buttons/#findComment-1005994 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.