Showing/Hiding DIV tags..?

Results 1 to 2 of 2

Thread: Showing/Hiding DIV tags..?

  1. #1
    Join Date
    Dec 1969

    Default Showing/Hiding DIV tags..?

    I have a function where I pass a variable into it called "intID" that is actually a GUID ({178DEF93-90A8-4954-9765-05B3B48263B0}) number...<BR><BR>However, the problem I&#039;m running into is when I do...<BR><BR> = &#039;block&#039;; <BR><BR>I get the following error...<BR><BR>"style is null or not an object"...<BR><BR>Would anyone know why I might be experiencing this error..?<BR><BR>I&#039;m able to verify that "intID" has a value by doing an alert but, I&#039;m unsure why i&#039;m getting this error...

  2. #2
    Join Date
    Dec 1969

    Default RE: Showing/Hiding DIV tags..?

    intID is a variable, not an object reference. you probably need to use<BR><BR>document.all[intID]<BR>document.getElementById(intID)<BR>document.lay ers[intID]<BR><BR>j<BR>http://www.readthe****

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts