Hi all,
I am writing a small HTML+JavaScript (so to call) application. User is given two choices (radio buttons) and depending what did he choose, I display content "A" or content "B" under the choice radio buttons.
Now I am wondering what is a right way to handle this content. Should I have 2 DIVs, only one visible, depending on choice, or should I use JavaScript to write InnerHTML to single div, depending on a state of radio buttons. This is small "calculation" application, so no forms data will be submitted.
Thanks for replies! J