testing - i want append html content into DIV tag -


 var test ="<html><head><title>json template</title><script type='text/javascript'>widgetbuilder.render({'displayparams':{'wtitle':'columns','target':'wid1','classlist':{"+result+"},'displimit':'5'},'contentparams':{'channel':'news','category':'columns','wid':'widget1','entity':'article','limit':'6'}});</script></head><body><div><ul id='wid1'></ul></div></body></html>";  $("#lightbox-panel").append(test); 

the tag nothing more container other tags. body tag, div elements block elements , work behind scenes grouping other tags together. use following attributes div element, else should reserved css

id
width
height
title
style


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -