xhtml - page content in javascript needs to go in to html -
I have the link when users click them, the page immediately updates using the DOM, it's my The problem is that I want to separate the content from logic ... that is, I like the content below in .html file Currently it is in a .js file My understanding is that logic is a good practice to keep separate structure / content ... For example, advanced registration for javascript works in opposition to inline registration To use How do I get html content in .html file below? If you dynamically add stuff to the DOM using Javascript, < Personally, I think That's okay to mix the content and a little rational, in this way, simply, there is no way about keeping that content in JS file Do not go upstairs, where it gets confused. O2 () does
function l1 () {o2 ('ac1_3', ' & lt; p class = "h" & gt; all your bookmarks in one place & lt ; / P & gt; & lt; img class = "i1" src = "i3.jpg" alt = "" / & gt; & lt; img class = "i1" src = "i4.jpg" alt = "" /> '); } "post-text" itemprop = "text">
Comments
Post a Comment