Note that there are some explanatory texts on larger screens.

plurals
  1. POPermission denied IE8 on jquery keypress (enter)
    primarykey
    data
    text
    <p>IE8 keeps throwing error <strong>Permission denied</strong>:</p> <ul> <li>jquery-1.7.2.min.js | Line:2, Char:21695 </li> <li>jquery-1.7.2.js | Line:1712, Char:4</li> </ul> <p>(depend on which version I use).</p> <p>It happens when I press enter (<a href="https://stackoverflow.com/questions/10742349/focus-on-next-tabindex-of-html-element-onenter-keypress-by-jquery/11205952#11205952">function</a> on 'Enter' jump around tabindexes). And it happens only on specific server and specific PC group who uses IE8.</p> <p>[EDIT] It happens when calling</p> <pre><code>$("[TabIndex='"+tabindex+"']").focus() $("[TabIndex='"+tabindex+"']").blur() </code></pre> <p>Full code</p> <pre><code>//WALKING with ENTER var tabindex = 1; //start tabindex || 150 is last tabindex $(document).keypress(function(event) { var keycode = (event.keyCode ? event.keyCode : event.which); if(keycode == '13') { //onEnter if($("[TabIndex='"+tabindex+"']").attr('id') == 'submit_btn'){ //if on 'sbm - button' click! $("#submit_btn").click(); return false; }; $("[TabIndex='"+tabindex+"']").blur()//.removeClass('highlight_input'); tabindex++; //while element exist or it's readonly and tabindex not reached max do while(($("[TabIndex='"+tabindex+"']").length == 0 || $("[TabIndex='"+tabindex+"']:not([readonly])").length == 0) &amp;&amp; tabindex != 150 ){ tabindex++; } if(tabindex == 150){ tabindex = 1 } //reseting tabindex if finished $("[TabIndex='"+tabindex+"']").focus()//.addClass('highlight_input'); return false; } }); </code></pre> <p>I can reproduce this error only Logging off/re-logging Windows(XP) -> going back to this interface and pressing 'Enter'. After F5: everything works fine.</p> <p>Has anyone already experienced something like this before?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload