Re: Javascript with select in partial

Samiron
Mon, 31 Aug 2009 03:18:33 -0000

>
> function doReset(){
>
document.getElementById("channelnotes").options.selectedIndex = 0;
>         document.getElementById("channelnotes").options
> [document.getElementById
> ("channelnotes").options.selectedIndex].value="";}
>
>


Hello RVince,
would you please try in this way:

doReset = function(){
        document.getElementById("channelnotes").options.selectedIndex
= 0;
        document.getElementById("channelnotes").options
[document.getElementById
("channelnotes").options.selectedIndex].value="";
}