html - Javascript Focus lost -


I have created a very simple test page below. When I open it in Internet Explorer and start tabbing through it, it first taps through all the links, though it does not tab through it for the second time, this address bar, This is the reason that the Javascript file is being included to snare.js but we need it on our page. Can anyone recommend some way to overcome it?

Note - The problem is only happening in Internet Explorer.

  & lt ;! DOCTYPE HTML & gt; & Lt; Html & gt; & Lt; HEAD & gt; & Lt; TITLE & gt; Test title & lt; / TITLE & gt; & Lt; Script type = 'text / javascript' language = 'javascript' src = 'https: //mpsnare.iesnare.com/snare.js'> & Lt; / Script & gt; & Lt; / HEAD> & Lt; Body & gt; & Lt; A href = "http://www.google.com" & gt; Test & lt; / A & gt; & Lt; A href = "http://www.google.com" & gt; Test 2 & lt; / A & gt; & Lt; A href = "http://www.google.com" & gt; Test 3 & lt; / A & gt; & Lt; / Body & gt; & Lt; / Html & gt;    

Your Javascript Error I'm trying to delete the script tags, so this is fun Comes. Hope this help!

You can use Javascript Focus on link 3 when I'm using my code properly using Blur Link 1 or other code

   & Lt; Body & gt; & Lt; Div & gt; & Lt; An id = "link1" onBlur = "this.tabIndex = 1" href = "http://www.google.com" & gt; Test & lt; / A & gt; & Lt; An id = "link2" onBlur = "this.tabIndex = 2" href = "http://www.google.com" & gt; Test 2 & lt; / A & gt; & Lt; Id = "link3" onBlur = "document.getElementById ('link1'). Focus ()" href = "http://www.google.com" & gt; Test 3 & lt; / A & gt; & Lt; / Div & gt; & Lt; / Body & gt; & Lt; / Html & gt;    

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -