KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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? The javascript that is being generated that I want to disable/modify is: 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 } I want to disable the alert on line 1321 Thanks
Tags (comma-separated)
Save Edits
Cancel