title: Disable alert();
body: <p>Code that is generated on my page that I cannot control contains an alert. Is there a jQuery or other way to disable alert() from working?</p>
  
  <p>The javascript that is being generated that I want to disable/modify is:</p>
  
  <pre><code>function fndropdownurl(val)
  1317 { var target_url
  1318 target_url = document.getElementById(val).value;
  1319 if (target_url == 0)
  1320 {
  1321 alert("Please Select from DropDown")
  1322 }
  1323 else
  1324 {
  1325 window.open(target_url);
  1326 return;
  1327 }
  1328 } 
  </code></pre>
  
  <p>I want to disable the alert on line 1321</p>
  
  <p>Thanks</p>