Html append the div into another div

tv sexe porno

New Member
I'm in doubt with my HTML design. I have a \[code\]<div> ... </div>\[/code\] section at a fixed position. I wish to reuse that \[code\]<div></div>\[/code\] anywhere inside of the \[code\]body\[/code\] tag. I tried it using jQuery and JavaScript with the method of \[code\]innerhtml('...')\[/code\], \[code\]after('...')\[/code\], \[code\]append('...')\[/code\]. It works, but I don't want to explain the 100 of lines with quotes, and one more thing. I wish to include that \[code\]<div></div>\[/code\] more than one time.Sample code format.\[code\]<html><head>....</head><body>... <div id='includes_div'> <!-- It hides on form load --> ... ... <!-- having 100 of lines --> </div> <div id='div1'> <!-- want to include here --> ... </div> <div id='div2'> <!-- want to include here --> ... </div></body></html>\[/code\]Is it possible with jQuery or JavaScript?
 
Back
Top