php + javascript

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tornado2k
    New Member
    • Apr 2010
    • 1

    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.
    Last edited by Dormilich; Apr 30 '10, 10:24 AM. Reason: moved, because I don’t see PHP concerned
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    1. listen for a change event and set the disabled property of the button to false.

    Comment

    Working...