I have a tag with a complex "oninput" handler, e.g.

```
 <input id="x" type="text" name="x"  
  oninput="lotsofgeneratedcocde...."/>

```

I want to add another handler that simply calls that one. My initial though was that this would work:

```
 <input id="x" type="text" name="x"  
  oninput="lotsofgeneratedcocde...." onfocus="this.oninput"/>

```

But it doesn't. What should I be doing? Thanks.

Edit: I thought that onfocus="this.oninput" would copy the reference to the function, that's why I left off the parentheses for a call.