1
In jquery, if I insert the following code, error ::
variavel.append('<div class="qualquer">
<div class="subdivs">
conteudo da subdiv
</div>
<div class="subdivs">
conteudo da subdiv
</div>
</div>
');
But if I put the same code without line break, no more error ::
variavel.append('<div class="qualquer"><div class="subdivs">conteudo da subdiv</div><div class="subdivs">conteudo da subdiv</div></div>');
My doubt is
How to avoid this line break error? There is a "substitute" pro append so I can insert the line break code?
NOTE: I’m trying to learn more about Jquery so I don’t know the means to accomplish such a thing!
Interesting. The solution is simpler than I could imagine!
– ivan veloso
edited the post explaining the problem, for a better intention :)
– Brunno