Hi I am wondering if it possible to create a java script to create some html script to embed into a website. For example I want the java or php to create the following example HTML. <div id="test"> <ul> <li>Some text</li> </ul> </div> HTML: Then create a function to call this into the static HTML page. i.e <body> <script type="text/javascript"> the html is written</script> </body> HTML: Anyone got any good recommendations?
Ok, Basically I want to add code to multiple pages and I want to be able to update a one piece of code which will update all. The site is using HTML5.