Following is my code which works fine in firefox but not in chrome. Kindly let me know how to solve this issue. The main idea is to call a js function based on the selected
options don't fire mouse events in chrome.
option
For a select element you'd use the onchange event on the select itself, and the value of the select will always be the same as the selected option
select
onchange
-- Select question type for this quiz -- 1) MCQs 2) True/False
with jQuery it would be
$('select').on('change', function() { var selected = this.value; });