Why does this javascript throw an undefined error?
<p>I'd like to define my own onblur event for all text boxes in an application so that I can strip all high ascii values, so I wrote a script that runs on an asp.net master page that runs per page load, overriding all text box / area onblur events, and storing a copy of the old event.</p>

<p>The new event then called the old event so it wouldn't break existing events across the forms.</p>

<p>It worked fine until a page defined an onblur like: onblur="func(this)"
When the original event fires the 'this' point doesn't seem to point to the sender control any longer. </p>

<p><a href="http://pastebin.com/Ympx1jF9" rel="nofollow">Pastebin link with 2 simple examples</a></p>

<p>So would anyone be able to point me towards a better way to accomplish this?</p>

<p>Thanks!</p>
