首页javascriptselect_dropdownjQuery Form - 如何处理select元素的click事件

jQuery Form - 如何处理select元素的click事件

我们想知道如何处理select元素的click事件。

<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
  src='http://code.jquery.com/jquery-1.4.4.min.js'></script>
<script type='text/javascript'>
$(window).load(function(){
    $('.select').click(function() {
        console.log("!!!!!!!")
    });
});
</script>
</head>
<body>
<html>
<head></head>
<body>
  <select class="select" style="max-width: 400px">
    <option>A</option>
    <option>B</option>
    <option>C</option>
    <option>D</option>
    <option>E</option>
    <option>F</option>
  </select>
</body>
</html>
</body>
</html>