javascript On change event is not firing in Safari after selecting the dropdown value


I have a dropdown in my page. Whenever a user is selected the option it should open a new window with the selected index url. the below code is working in all browsers except safari.

Any idea to solve this issue..?

<form> <select class="searchboxproduct" style="width: 243px;" name="URL" onchange="window.open(this.form.URL.options[this.form.URL.selectedIndex].value)"> <option value="">select</option> <option value="www.gmail.com/">Gmail</option> <option value="www.google.com">google</option> </select> </form>


I've tried your code, it didn't open a new tab, either.<br /> But when I set the safari settings to <strong>NOT block pop-up windows</strong>, it worked !<br /> Therefore I don't think it's your code's problem.<br /><img alt="enter image description here" class="b-lazy" data-src="https://i.stack.imgur.com/iUCqa.jpg" data-original="https://i.stack.imgur.com/iUCqa.jpg" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" />

larger size of picture is <a href="http://www.ncc.edu/programsandcourses/distance_ed_online/disable_popup_blocking.shtml" rel="nofollow">here</a>


  • Slow performance in hybrid AngularJS and Angular application in Safari
  • Cursor in wrong place in contenteditable
  • Is it safe to drop the -webkit vendor prefix from the css3 border-radius yet?
  • Create function that can pass a parameter without making a new component
  • Alamofire and Reachability.swift not working on xCode8-beta5
  • How can we prepend rows to a react native list-view?
  • PayPal API Listener Website Payments Standard URI
  • Repository Browser Only - \"Repository moved permanently to… please relocate”
  • Hide HTML elements without javascript, only CSS
  • AppleScript : find open tab in safari by name and open it
  • c# open webrowser in many tab
  • Z3: Convert between FP and BitVector?
  • Textfile Structure (tables)
  • chrome.tabs.executeScript only fires when the Developer Console is open
  • Recording logins for password protected directories
  • Display issues when we change from one jquery mobile page to another in firefox
  • Read text file and split every line in MSBuild
  • Different response to non-authenticated users and AJAX calls
  • C# - Serializing and deserializing static member
  • Java applet as stand-alone Windows application?
  • Why doesn't :active or :focus work on text links in webkit? (safari & chrome)
  • Javascript convert timezone issue
  • Arrow is showed instead of the material design version hamburger icon. Why doesn't syncState in
  • ORA-29908: missing primary invocation for ancillary operator
  • jQuery tmpl and DataLink beta
  • Cannot Parse HTML Data Using Android / JSOUP
  • Data Validation Drop Down Box Arrow Disappearing
  • SQL merge duplicate rows and join values that are different
  • Proper way to use connect-multiparty with express.js?
  • Error creating VM instance in Google Compute Engine
  • How to set the response of a form post action to a iframe source?
  • How do you join a server to an Active Directory (domain)?
  • Java static initializers and reflection
  • How does Linux kernel interrupt the application?
  • unknown Exception android
  • costura.fody for a dll that references another dll
  • Observable and ngFor in Angular 2
  • UserPrincipal.Current returns apppool on IIS
  • Unable to use reactive element in my shiny app
  • java string with new operator and a literal