#104612
Peter
Participant

There is something I’m missing I think. I have now added what I see to be redundant code lines to make it look like the sample, but it still doesn’t work.

Isn’t the idea to do the following:

Check if there is a template (a div) and if there isn’t one, then add it and set it’s content (innerHTML) to something: ”, ‘<_A_>’ or ‘<_B_>’.
Or if there is one, just set it’s content (innerHTML) to something: ”, ‘<_A_>’ or ‘<_B_>’.

This not understood correctly?

  • This reply was modified 1 year, 4 months ago by Peter.
  • This reply was modified 1 year, 4 months ago by Peter.