>Umm, it might be as simple as the JS not setting the display property
>correctly?
>
>e.g.
>
>document.getElementById("COMMENTB").style.display = "none";
>document.getElementById("COMMENTC").style.display = '';
>document.getElementById("FRMSUBMIT").style.display = '';
>
>Shouldn't the empty quotes be 'block' ? I could be wrong though.
>
>It's complicated:
>
>here's the template:
>http://cfm.pastebin.com/m549bfe76
>
>what I'm specifically dealing with is function Q4Chk(i), which sets
>display settings based on the input from a set of radio buttons
>(note: I didn't write this, but I'm trying to get it to work properly)
>
>The business logic states that each question in the section has three
>possible answers, "yes", "no" or "I don't know".
>"Yes" and "I don't know" should respond exactly the same way, "no"
>responds differently., However if the user answers "yes", or "I don't
>know" to any question, that overrides the behavior triggered by any "no"
>answers.
>
>There it is....clear as mud
>
>Craig Dudley wrote:
>
>--
>Scott Stewart
>ColdFusion Developer
>
>Office of Research Information Systems
>Research & Economic Development
>University of North Carolina at Chapel Hill
>
>Phone:(919)843-2408
>Fax: (919)962-3600
>Email: [EMAIL PROTECTED]
style.display = '' effectively removes the diplay setting from the div
entirely, it achieves the same effect as display:none.
Having said that, somewhere in this mess, the display settings seem to be
reversed. It seems that display:none makes the div render, and display:block
removes it.
This is really getting weirder by the second.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313750
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4