title: Refresh value in text field with JavaScript/jquery
body: <p>I have a function that calculate price for a product. I'm not JavaScript developer so my knowledge is very limited.</p>
  
  <p>By changing the value in the text field script calculate price for product.</p>
  
  <pre><code> &lt;input type="text" value="" name="options[22]" class="input-text"
   onfocus="opConfig.reloadPrice()"&gt;
  </code></pre>
  
  <p>Problem is that the script triggers only if the following is done:</p>
  
  <ol>
  <li>insert value into the textfield</li>
  <li>click somewhere outside the textfield</li>
  <li>click back into the text field</li>
  </ol>
  
  <p>All I need is a button saying refresh that by clicking it will have functionality of step 2 and step above.</p>
  
  <p>I'm not sure if I explained it properly so if there is any more information required to resolve this issue please let me know.</p>
  
  <p>Here is the link to the site. </p>
  
  <p><a href="http://www.floorstodoors.mldemo.co.uk/spotlight/oak-value-lacquered-3-strip.html" rel="nofollow">http://www.floorstodoors.mldemo.co.uk/spotlight/oak-value-lacquered-3-strip.html</a></p>
  
  <p>The field im trying to amend/add refresh button is Enter Square Metre</p>