C
cjl
Hey all:
I'm stuck.
I'm writing web application that dynamically returns results like the
following:
<div class="search_result">
<div class="history">Right lower quadrant pain.</div>
<div class="diagnosis">Appendicitis</div>
<div
I have a toggle switch to enable or disable "stealth mode". Among
other things, enabling stealth mode needs to hide the diagnosis.
The problem is that stealth mode can be turned on (or off) before or
after searching and returning the results like above.
I can't set the style visibility attribute to hidden on an element
before that element exists. If I check a variable to see if stealth
mode is enabled before generating the results and leave the diagnosis
div out, then it's not there to dynamically show if stealth mode is
turned off.
Any ideas on a solution?
Thanks in advance,
CJL
I'm stuck.
I'm writing web application that dynamically returns results like the
following:
<div class="search_result">
<div class="history">Right lower quadrant pain.</div>
<div class="diagnosis">Appendicitis</div>
<div
I have a toggle switch to enable or disable "stealth mode". Among
other things, enabling stealth mode needs to hide the diagnosis.
The problem is that stealth mode can be turned on (or off) before or
after searching and returning the results like above.
I can't set the style visibility attribute to hidden on an element
before that element exists. If I check a variable to see if stealth
mode is enabled before generating the results and leave the diagnosis
div out, then it's not there to dynamically show if stealth mode is
turned off.
Any ideas on a solution?
Thanks in advance,
CJL