Re: OT: Problem with checkbox - now javascript problem

2005-02-10 Thread Norris Shelton
having a checkbox with the same name as a hidden field prevented the value from being evaluated. This was solved by putting the script directly into the onclick method. onclick=" if (this.checked == true) { document.getElementById('${recordType.name}Box').style.display='block'; } else { do

Re: OT: Problem with checkbox - now javascript problem

2005-02-10 Thread Norris Shelton
Dang it. This is not going to work for me. I have a check box. If the check box is checked, I have some javascript looking for the click event. If the check box has a .checked = true. I change div's display value to block, else to none. So, you check the check box and some radio buttons show