disable all input buttons


Posted on 16th Feb 2014 07:03 pm by admin

Hello Friends,

suppose i do have a file ( file.php ) has a submit button

Did you know?Explore Trending and Topic pages for more stories like this.
Code: [Select]<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 !!
No comments posted yet

Your Answer:

Login to answer
66 Like 41 Dislike
Previous forums Next forums
Other forums

Drop Down and text box issue
Is it possible to set a drop down list and text boxes to a certain width?

here is my code

Problem with php's rename function
So, i'm having a problem with the php rename function. Basically my script 'delete_user.php' attempt

Generating unique numbers using php
Hi,
I need help in generating unique number using php.I tired using rand() in php.But, by using r

Insert Failing.
Hey,
I am making a Sign up page for a website, but the insert query into the Database does not se

Displaying different page content, depending on the logged in user.
Hi all, I am new to ASP.net (and web development in general), and have a question about how I can di

When file included, REMOTE_ADDR is server's?
I have an index file that handles my site, basically index.php?page=ip will activate "require('

mysql_affected_rows() usage
Possibly a MySQL issue, but the function that is not behaving in the anticipated way is a PHP functi

Checkbox info wont include in Mailto
Hey, im new to php.
Basically I have made a form to request which type of job(s) are needed, whic

Concatenate two strings ???
I have string one $string1 and another $string2.

How to concatenate (add) both of them $str

From Header Showing 'Unkown' In Hotmail? Why?
Code: $to = $row_GetID['email_addr'].',sales@mywebaddress.co.uk';
$subject = 'Thank you for you

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash