title: Onblur event in Selenium
body: <p>We have the below fields in the UI which has onblur event implemented. When we execute the steps manually, it works, but when we use Webdriver 2.45 version to execute the same steps it fails to get updated value in the total field.  </p>
  
  <p>HTML code:</p>
  
  <pre><code>&lt;input name="percent_list" id="percent_list" type="text" value="1" align="right" class="formInput" onblur="calculate();"&gt;
  
  &lt;input name="percent_sell" id="percent_sell" type="text" value="1" align="right" class="formInput" onblur="calculate();"&gt;
  
  &lt;input name="total_commision" id="total_commision" type="text" value="2.00" readonly="yes" class="formInput"&gt;
  </code></pre>
  
  <p>Test data:
  - Field 1 : 1.00
  - Field 2: 1.00
  - Verification Field ( total ): 2.00</p>
  
  <p>Steps:
  - Enter value for Field 1 &amp; 2.
  - Verify whether Total field has the total sum of field 1 and 2.</p>
  
  <p>Observation: We see that as the event is onblur , it works manually but with IE browser and Selenium , the UI is not getting auto populated with the sum value.</p>
  
  <p>Tried methods:
  - Sendkeys : didn't worked. Tried clicking on other webelement also didn't worked.
  - Used Java script editor also didn't worked. we are able to update the field 1 and 2, but the field total sum doesn't auto sum.
  - tried using Keys.TAB also. it didn't worked.</p>
  
  <p>code:</p>
  
  <pre><code>driver.findElement(By.id("percent_list")).sendKeys("2.5");
             //JavascriptExecutor jse = (JavascriptExecutor) driver;
            // jse.executeScript("arguments[0].setAttribute('value', arguments[1])", driver.findElement(By.id("percent_sell")), Keys.TAB);
             //jse.executeScript("arguments[0].setAttribute('value', arguments[1])", driver.findElement(By.id("referral_fee_percent")), Keys.TAB);
             driver.findElement(By.id("listing_agent_bonus")).click();
  </code></pre>
  
  <p>Any suggestion to resolve this onblur related behavior?</p>