首页 > JQuery-editable-select插件文本框捕捉不到事件?

JQuery-editable-select插件文本框捕捉不到事件?

部分代码如下:


<tr>
   <td class="tdbg"><label>被抽样单位</label></td>
   <td>
       <select name="breedtypeid" class="editable-select" id="breedtypeid" style="width: 50%;">
            <option>1</option>
            <option>2</option>
            <option>3</option>
            <option>4</option>
            <option>5</option>
        </select>
   </td>
 </tr>


<script>
//或者select选择器change事件 好像都捕捉不到
$("input[name=breedtypeid]").blur(function () {
    alert(123);
      });
$(function() {
      $('.editable-select').editableSelect(
        {
          bg_iframe: true,
         // If set to true, the user has to type in an exact
          case_sensitive: false, 
         // If there are more than 10 items, display a scrollbar
          items_then_scroll: 10 
        }
      );
  });
</script>


jQuery那里是不是应该改成select

【热门文章】
【热门文章】