Results 1 to 2 of 2

Thread: change class option

  1. #1
    Join Date
    Jul 2008
    Posts
    81
    Thanks
    38
    Thanked 2 Times in 2 Posts

    Default change class option

    Hi,

    I'm using a select-option menu.
    PHP Code:
    <select name="back" id="back"  style="width:150px;">
      <
    option>----</option>
      <
    option>number</option>
    </
    select
    Is it possible that when I'll choose number it will change the class of a table I have (called mytable) to a class called number?

    Thanks

  2. #2
    Join Date
    May 2008
    Posts
    144
    Thanks
    6
    Thanked 11 Times in 11 Posts

    Default

    you could write a function that changes the class name depending on the selection

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •