Results 1 to 3 of 3

Thread: How to select javascript drop losing option by value

  1. #1
    DavisNelson is offline Senior Member
    Join Date
    Dec 2009
    Posts
    202
    Rep Power
    3

    Default How to select javascript drop losing option by value

    I am new in software world. I am developing one website. In my form there is dropdown menu. But now when I click on it shows error. I want to create dropdown menu using JavaScript. If you are having any suggestions then reply me. It can helpful to me.

  2. #2
    CarterBaker is offline Senior Member
    Join Date
    Dec 2009
    Posts
    210
    Rep Power
    3

    Default

    Try to understand following code which is helpful for you. Refer following program to select javascript drop down option by value .

    Code:
    <script type="text/javascript">
    	function showSelected(val){
    		document.getElementById
    ('selectedResult').innerHTML = "The Option selected is - " 
    + val;
    	}
    </script>

  3. #3
    CollinsBrown is offline Senior Member
    Join Date
    Dec 2009
    Posts
    213
    Rep Power
    3

    Default

    Select the field can be loaded dynamically, if it is greater than the select box. JavaScript automatically gets all the elements of form - server-response is displayed in the "Range" - server-side script is a simple PHP script to display the contents of $ _GET global variables.Sometimes one to choose parameters of the window depends on the choice of the second window and select the opposite sex, respectively, to the previous value, select the field.

Similar Threads

  1. Replies: 1
    Last Post: 10-02-2009, 01:05 PM
  2. PC keeps losing track of time
    By David Hooper in forum General Networking
    Replies: 1
    Last Post: 07-18-2009, 11:57 AM
  3. Losing of my www...
    By hardrock in forum Windows 7/2000/NT
    Replies: 0
    Last Post: 05-14-2009, 11:09 AM
  4. Losing of Hibernate
    By carlos in forum Everything Else
    Replies: 4
    Last Post: 05-04-2009, 12:15 PM
  5. Losing Time
    By qaalin in forum Everything Else
    Replies: 0
    Last Post: 06-30-2008, 04:49 PM

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
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48