Closed Thread
Results 1 to 4 of 4

Thread: detect dropdown changes

  1. #1
    yonghan is offline Learning Programmer
    Join Date
    May 2008
    Posts
    99
    Rep Power
    0

    detect dropdown changes

    Hi all,i'm wondering how to detect select option changes.For example i want the data in database changed when i click on update button and if there are changes on the select option side.If the values on the select option are not changed,i can't update the data..Is there a way to achieve it?Thanks a lot...
    Last edited by yonghan; 10-24-2009 at 09:05 AM.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: detect dropdown changes

    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  4. #3
    Jordan Guest

    Re: detect dropdown changes

    You'll can use the onchange event.
    HTML Code:
    <select onchange='someJavaScriptfunction()'>...

  5. #4
    yonghan is offline Learning Programmer
    Join Date
    May 2008
    Posts
    99
    Rep Power
    0

    Re: detect dropdown changes

    Actually i look at the virtuemart that they implement that way,where if the select option value is not changed,then i can't update the order status and it will show message that there are no changes ..The update button was a submit button i suppose..I'm intending to follow it..Thanks...

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Get the value from DropDown box and paste it in Textbox
    By NumOne in forum PHP Development
    Replies: 1
    Last Post: 05-29-2011, 05:59 PM
  2. dropdown menu
    By hkp in forum HTML Programming
    Replies: 6
    Last Post: 08-20-2009, 08:35 AM
  3. dropdown menu
    By hkp in forum JavaScript and CSS
    Replies: 1
    Last Post: 06-06-2009, 06:22 AM
  4. dropdown box youtube video
    By cjc1867 in forum JavaScript and CSS
    Replies: 14
    Last Post: 02-17-2009, 05:05 PM
  5. Browser complient dropdown
    By CodeJunkie in forum PHP Development
    Replies: 1
    Last Post: 10-02-2008, 01:19 PM

Tags for this Thread

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