|
Hi,
I have 1 dropdwn box & 1 check box on webpage.
My rq is if i tick on checkbox dropdwn box shud be disabled.
chkbox =fixedOutputFmt
drpdwn=delimiter
my fun is:
function fnCheck() {
var f = document.forms[0]
if (f['fixedOutputFmt'].disabled==false &&
(f['fixedOutputFmt'].checked==true)) {
f['delimeter'].disabled = true
}
}
i m writing below code at declaration of chkbox
onClick = "fnCheck()"
this code is not working.
Plz help ...
thanks in advance.
|
|
|
|
|
|
|
// |