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

Accept only alpha characters
I've got this bit of code ready for accepting a phrase:

Code: if (!eregi ("", $_POS

update the selected existing records of database
Hi frndz,
I am new to php and get stuck....

Edit.php > Update.php > Updatea

Php If in MySql query (hiding labels if a field is empty)
Okay, I've been trying to do this for a while, and I'm finally going to ask for help so I can get th

Is there a quick way to do this?
Hi all,

I need to create a mysql table from php that goes a little something like this

Basic Forum Tutorial
Hi, I'm new to PHP. I want to build a basic forum for my site using PHP and MySQL. I've searched t

Do While statement
hi guys,

This may sound trivial but im new to php and as part of an assignmenti have to const

Final year project, please point me in the right direction
hi there for my final year project I'm aiming to build a php script shell to use as an expert system

returning data from an ssh2_exec()
here's what i got.


$conn = ssh2_connect($this->_host);
ssh2_auth_password($c

ORA-00932: inconsistent datatypes: expected - got CLOB
SO : windows xp
database : XE

there is a table (transito) with two fields of clob

Including calander to page - will not show other months than current??
im trying to add an existaing calander onto a profile page by using Code: <?php include "

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