title: javascript code working in jsfiddle but not working in the browser
body: <p>my code is working in jsfiddle but not working in the browser i dont know what i missed here could you please check it and tell me the solution. i  google it but i am not getting correct solution please help me 
  this is jsfiddle link <a href="http://jsfiddle.net/pLTrJ/9/" rel="nofollow">http://jsfiddle.net/pLTrJ/9/</a></p>
  
  <pre><code>   &lt;!doctype html&gt;
       &lt;html&gt;
        &lt;head&gt;
          &lt;script src="http://code.jquery.com/jquery-latest.min.js"  type="text/javascript"&gt;   &lt;/script&gt;
        &lt;/head&gt;
        &lt;script type="text/javascript"&gt;
          var random = 0;
          var theDiv = document.getElementById("showVal");
          updateTheDiv(9,0);
          function updateTheDiv(inRange, inMin) {
          random = (Math.random()*inRange+inMin)|0; 
          theDiv.innerHTML = random;
          var nextCall = (Math.random()*1000)|0;
          setTimeout(function() {
          updateTheDiv(inRange, inMin);
              }, nextCall);
          }
        &lt;/script&gt;
          &lt;body&gt;
            &lt;div id="showVal"&gt;&lt;/div&gt;
          &lt;/body&gt;
     &lt;/html&gt;
  </code></pre>