I'm trying to use two arguments in a function, but it's not working?
This is not the final function, I'm just trying to get the arguments to work.

the html:

```
<div id = "textButton" class = "convertButtonss" onclick = illegal_chr("bin" ,"binary")>
    <p id = "textButton_p">
        txt/dec
    </p>
</div>

```

the Javascript:

```
function illegal_chr(name, type) {
    alert(name);
    alert(type);
}

```

when I click on the div nothing happpens?