How to programattically change an inputs onblur?
<p>I am trying to change the value of the onblur attribute of a text input after the page has finished loading.</p>

<p>When I do the following, it simply fires the function:</p>

<p><code>ip.onblur = stopCalcUpInt(this,10);</code></p>

<p>When I do the following, I have success:</p>

<p><code>ip.onblur = function onblur(event){stopCalcUpInt(this,10);}</code></p>

<p>Unfortunately, the whole point of this is to be able to dynamically set the second parameter for stopCalcUpInt(). If I hard code a value for it... it works fine... but any attempts to pass varibles to this fails... instead of putting the value of the variable as the second param it just puts the plain text of the variable name itself. Here is ideally what I am TRYING to do:</p>

<p><code>ip.onblur = function onblur(event){stopCalcUpInt(this,this.value);}</code></p>

<p>In this example, when I alert the ip.onblur I get:</p>

<p><img src="http://imgur.com/ihuA7.png" alt=""></p>
