JQuery not working in Firefox
<p>I have a Jquery function, which works in Chrome, but not in Firefox, Does anybody have any idea, what went wrong ?</p>

<p>This function is used to fill a text box with default values. The code logic is correct, as it works correctly in chrome.</p>

<pre><code>$('#filler').change(function(){
//Logic here    
var Row = document.getElementById("node-0");
var Cells = Row.getElementsByTagName("td");
var size=(Cells[2].innerText);
var chr=document.getElementById("filler").value;    
var fillertxt="";
for (var i=0;i&lt;size;i++)
{
  fillertxt+=chr+chr+" ";
}       
if(!/[0123456789abcdef]/ig.test(chr))
    {
         alert("Do use Hexadecimal characters!");   
    }
    else
    {
        $('#input').val(fillertxt);
    }
});
</code></pre>
