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

Redirect not working after making a POST/GET
Hi Everyone,

I am a novice in PHP. Here I have 2 pages, one page with a textbox and button an

socket makes browser hang...
I have a socket server, and I am having a problem at the moment...

A browser sends a http hea

how to validate date using javascript
I need to validate date in textbox using javascript..
The date is must be not greater than TODAY

problems with script
I made a small script wich exchanges points in my website:


<?php
session_start

Error Messaging not working
I changed the way my form tells the user of an error. But I can't seem to get it to work properly.

if php cookie set, show code...
Hi all.. I need to figure out this little snippet right quick.. seems like it should be easy enough

Must-Know Topics of PHP
Can you guys list the must-know topics of PHP. I am still a learner and I am trying to cover most of

Need understanding of this bit of code
Code: <?php
// WHERE clause filters
$arrSQLFilters = array();

//

LIMIT $start, 10... how to pass last value queried into next page with GET??
Ok I know how to display the first or last 10 results of a query...

$result = mysql_query(&q

Security Exception on pages using AJAX
I am getting the exception: attempted to perform an operation not allowed by the security policy on

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