S
sancha
I need a select Box where the user cannot change the value. If i use
disabled the user complains that they are unable to see the value of
the box.
i tried attaching onclick,ondblclick events via javascript to call a
function.
If i put an alert in the function and then return false it works. If i
just return false it dosent and allows the user to change the values.
It needs to be a select box because only for particular users it has to
be disabled.
right now i have attached for onfocus and ondblclick
function dontChangeSelectvalue()
{
this.disabled=true;
this.disabled=false;
return false;
}
this works well for onFocus but for ondblClick the box falls down and
then gets disabled. Please help.
disabled the user complains that they are unable to see the value of
the box.
i tried attaching onclick,ondblclick events via javascript to call a
function.
If i put an alert in the function and then return false it works. If i
just return false it dosent and allows the user to change the values.
It needs to be a select box because only for particular users it has to
be disabled.
right now i have attached for onfocus and ondblclick
function dontChangeSelectvalue()
{
this.disabled=true;
this.disabled=false;
return false;
}
this works well for onFocus but for ondblClick the box falls down and
then gets disabled. Please help.