Re: How do I capture the "Codes" drop down "SelectedIndexChanged" event?

  •  05-19-2005, 1:16 PM

    Re: How do I capture the "Codes" drop down "SelectedIndexChanged" event?

    Hello,
     
    PastHTML is not the right command name . maybe you want 'PasteHTML'
     
    Another way , you could do this:
     
    server code : dropdown.Attributes["onchange"]="MyHandleDropDown(this)";
     
    client script:

    function MyHandleDropDown(select)
    {
        var val=select.value;

        //do with the val here .
        //select.selectedIndex=0;

        CuteEditor_DropDownCommand(select,'PasteHTML');
    }
     
     
    Regards , Terry .
View Complete Thread