Mine
public text v1 · immutablevar questions = new Array();
questions[questions.length] = "<p>ko</p>";
function hide(obj) {
alert(obj)
}
function addQuestion(nr) {
newQuestion = document.createElement('div');
newQuestion.innerHTML = questions[nr] + '<a href="JavaScript:hide(this.parent);">X</a></div>';
document.getElementById('form_div').appendChild(newQuestion);
}
</script>
<div id="form_div">
</div>