egturnkey Posted October 19, 2009 Share Posted October 19, 2009 Hello Friends, suppose i do have a file ( file.php ) has a submit button <input type=submit name=add value=go> is there any way so i can make the button shown but in same time it is disabled and make no action . - i know there are someway like remove the file name where the informations submitted , but if we have many many submit buttons so is there any way i can added a code into for example a comment file such as config.php so it become applied to all once . hope you got my idea... ummm like websites that gives a demo links for php scripts , they disabled all submit buttons. HOW !! Link to comment https://forums.phpfreaks.com/topic/178277-solved-disable-all-input-buttons/ Share on other sites More sharing options...
jonsjava Posted October 19, 2009 Share Posted October 19, 2009 um...not sure if this will help, but you can do this: <input disabled type="submit" name="add" value="go"> Link to comment https://forums.phpfreaks.com/topic/178277-solved-disable-all-input-buttons/#findComment-940005 Share on other sites More sharing options...
egturnkey Posted October 19, 2009 Author Share Posted October 19, 2009 oh my. jonsjava thanks very much it did works lol i thought you kidding me never seen that code before but it did works perfect and gives nice looking .. ( inactive button ) thanks so much Link to comment https://forums.phpfreaks.com/topic/178277-solved-disable-all-input-buttons/#findComment-940012 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.