$("#items").html('<tag>....</tag>');
<textarea id="script_buffer" style="display:none;"></textarea>
<script>
function scriptBuffer() {
var sb = document.getElementById('script_buffer');
if (sb.value) {
var script = sb.value;
sb.value = '';
eval(script);
}
}
</script>