469,279 Members | 2,216 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,279 developers. It's quick & easy.

php + javascript

I have a php script that lists all the categories from the database.
All these categories display within the editable text box.
There is an update button below the list of categories.

1. I want to enable the update button only if any one or more of the categories is modified.

2. I also want to highlight the changed the categories before the user clicks update button.
Apr 29 '10 #1
1 1077
8,651 Expert Mod 8TB
1. listen for a change event and set the disabled property of the button to false.
Apr 30 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

By using this site, you agree to our Privacy Policy and Terms of Use.