[enter image description here](https://i.stack.imgur.com/bYlaq.png)
This error message keeps opening on console.
And I am using Ember.js 

I am trying to make a drop-down and whenever on option from a drop-down is clicked, a form should be made based on what an option is chosen. For example, there are 3 options on dropdown: name, text, drop-down. When a user click a text, a text form should be created below. I already made an dropdown and tried to implement by writing document.write(" < /h1>"), but it keeps saying uncaught syntax error. Can someone help me please?

```
<script type="text/javascript">
    function clicking(option) {
        if (option === "name")
            //document.write("<h1>Hello<h1>");
    }
</script>

<h1>Data Form Test</h1>
<div id="dropdown">
    <form>
        <select id="selectBox" onchange="clicking(this)">
            <option value="" disabled="disabled" selected="selected" style="display:none">Please select a option</option>
            <option value="name">Name</option>
            <option value="title">Title</option>
            <option value="text">Text</option>
            <option value="check-box">Check-box</option>
            <option value="drop-down">Drop-down</option>
            <option value="calendar">Calendar</option>
        </select>
    </form>
</div>

<div id="div1"></div>

```