murli800 Posted July 13, 2011 Share Posted July 13, 2011 I want to change enable button change as it is clicked..how to do it ..suggest me the way....attaching the code and picutre of output [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/241886-want-to-change-appearance-of-enableas-it-clicked/ Share on other sites More sharing options...
sunfighter Posted July 14, 2011 Share Posted July 14, 2011 <body> <script type='text/javascript'> function change(){ document.getElementById("butt_1").value="Tonto"; } </script> <input id="butt_1" type="button" value="Lone Ranger" onclick="change();" </body> Quote Link to comment https://forums.phpfreaks.com/topic/241886-want-to-change-appearance-of-enableas-it-clicked/#findComment-1242520 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.