Results 1 to 4 of 4

Thread: textbox and dropdown communication

  1. #1

    Thread Starter
    Hyperactive Member bsw2112's Avatar
    Join Date
    Nov 2001
    Location
    ottawa, canada
    Posts
    292

    textbox and dropdown communication

    Hello all,

    Is there a way I can programaticly select a value in a drop down box, depending on what is in another textbox

    in IE6.0 i did it by doing

    function ModifyIt (frm1) // drop down name is aaa
    {

    var temp;
    temp = frm1.textBox.value;
    if (temp.charAt(0) == "A")
    {
    frm1.aaa.options.value = frm1.aaa.options[1].value;
    }
    //rest of code;

    i trigger the event with a onKeyup = " ModifyIt(this.form)"

    this coding works in ie6 but not in nn4.7
    can anyonme help me.
    i tried all sorts of things but to no avail


    regards

    bsw2112

  2. #2
    New Member
    Join Date
    Aug 2002
    Posts
    6

    Answer

    Have You DW?

  3. #3
    New Member
    Join Date
    Aug 2002
    Posts
    6
    DW has Java Script object model reference which give solution for each browser.

  4. #4

    Thread Starter
    Hyperactive Member bsw2112's Avatar
    Join Date
    Nov 2001
    Location
    ottawa, canada
    Posts
    292
    my friends have it so i can play with it
    which version has this feature and how would i go about solving my problem? i assume DW stands for dreamweaver.

    thanks

    bsw2112

Posting Permissions

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



Click Here to Expand Forum to Full Width