codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  facing problem in enabling a check box  jawatch at 06:24 on Thursday, January 17, 2008
 

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.








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  Re: adding a single \ to text
•  Re: problem with STDIN func.
•  Re: Problem with concatenation
•  facing problem in enabling a check box
•  connecting to Data.SqlClient
•  Re: display an image held in a sql database (image datatype) in to a datalist
•  I NEED C++ FOR PCSX2
•  download files via http in perl
•  Re: Help: Trouble with z-Index and SELECT lists


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2008