Jump to content

Archived

This topic is now archived and is closed to further replies.

klinmy

button control

Recommended Posts

how do i need to control the buttons? for example when i press the button "Add" the "Save" button will automatically enable, in other words, the "Save" button is disable before "Add" button is pressed. can i set this condition in PHP? i've surfed through some sites, but still no solution can be found..

it's the only way i know how to disable a button..
<input name="save" type="submit" class="style7" value="save" disabled>

thanks..

Share this post


Link to post
Share on other sites
I think you need to use Javascript for that.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.