string indexer works localy but not when site is hosted
<p>I have following problem with java script.</p>

<p>I have <em>jQuery</em> object. Locally getting i-th symbol of its value i use following code $(this).val()[i];</p>

<p>When i deployed this code in server this line started throwing exception saying that $(this).val()[i] is undefined and instead of it i used $(this).val().charAt(i) function; charAt() function works fine both in server and local.</p>

<p>I can't understand how this kind of issue could happen as the same script is being executed in same browser.</p>

<p>Thanks.</p>
