IE has no onclick anymore?

<input type="button" value="add" onclick="addSource()" id="addSource" />

I thought I could put an onclick on a button, but IE8 errors out with: Error: Object doesn’t support this property or method. I even converted it to a DIV and got the same error. I thought onclick worked in IE the last time I checked. Am I missing something?