The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I have a small problem with my code view iframe.
When I type content into my editable div and then click on my code view button it should display exactly the same.
And then when I click that code view button again it goes back to editable div.
But for some reason when I go back to the editable div after clicking on the code view button it clones the same code again into iframe.
How could I stop that so will not clone code multiple times.
I think you should use .html instead of .append…
Thanks for that solved my problem
Cool! Glad it helped!