javascript - onchange function not working -


  & lt; स्क्रिप्ट प्रकार = "टेक्स्ट / जावास्क्रिप्ट" & gt; फ़ंक्शन urlchange () {var val = document.getElementById ('तय'); ई = val.options [val.selectedIndex] .value; Window.open ('e', 'mywindow', 'width = 500, ऊंचाई = 500')} & lt; / script & gt; & Lt; / head & gt; & LT; बॉडी & gt; & Lt; आईडी = "फिक्स" onblur = "urlchange ()" & gt; & Lt; विकल्प चयनित = "चयनित" & gt; चुनें & lt; / विकल्प & gt; & Lt; विकल्प मान = "http://www.airtel.in" & gt; एयरटेल & lt; / विकल्प & gt; & Lt; विकल्प मान = "http://google.in" & gt; google & lt; / विकल्प & gt; & Lt; / चयन & gt; & Lt; / body & gt; & Lt; / html & gt;    

आपने यह कोड धुंधला होने पर आग लगा दिया है .... !!! अगर आप चाहें तो बदल सकते हैं:

  & lt; script type = "text / javascript" & gt; फ़ंक्शन urlchange () {var val = document.getElementById ('तय'); ई = val.options [val.selectedIndex] .Value; Window.open (e, 'mywindow', 'width = 500, ऊंचाई = 500')} & lt; / स्क्रिप्ट & gt; & Lt; आईडी = "तय" onchange = "urlchange ()" & gt; & Lt; विकल्प चयनित = "चयनित" & gt; चुनें & lt; / विकल्प & gt; & Lt; विकल्प मान = "http://www.airtel.in" & gt; एयरटेल & lt; / विकल्प & gt; & Lt; विकल्प मान = "http://google.in" & gt; google & lt; / विकल्प & gt; & Lt; / चयन & gt;    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

c# - Confused over DLL entry points (entry point not found exception) -