Put input inside select

前端 未结 4 753
长情又很酷
长情又很酷 2020-12-12 00:55

Is there a way to place an INPUT field inside select?




JS:

$(document).ready(function(){

  $( "input" ).keyup(function() {
    var value = $( this ).val();
    $( "p" ).text( value );
    $('#text1').text(value);
  })
  .keyup();
})

提交回复
热议问题