![]() Topic awaiting preservation: beginner Jscript IF statement help (Page 1 of 1) |
|
---|---|
Neurotic (0) Inmate Newly admitted From: |
![]() I want to have a box appear if it is not there and disappear if it is, triggered by a click. |
Bipolar (III) Inmate From: Israel |
![]() You are trying to ask "if (document.getElementById('tB').style.visibility == hidden){" where the hidden should be a string and not undefined variable. code: function sT(){ |
Obsessive-Compulsive (I) Inmate From: |
![]() I'm sorry I tried that... I eventually get to a point where I don't know what ic could be and I just start changin syntax type things. Like paranethese, commas, etc. |
Obsessive-Compulsive (I) Inmate From: |
![]() Are the semicolons the problem? |
Paranoid (IV) Inmate From: [s]underwater[/s] under-snow in Juneau |
![]() javascript: code: function toggleVisibility(item){
|
Obsessive-Compulsive (I) Inmate From: |
![]() Thank you very much norm!! |