In this code, it originated with just a blank table with a select tag:
4条回答 伪装坚强ぢ (楼主) 2021-01-26 19:00 You missing the . in the selector so, use this, $('.select2-selection.select2-selection--single span.select2-selection__rendered') instead of this $('.select2-selection select2-selection--single span.select2-selection__rendered') 0 讨论(0) 查看其它4个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
You missing the . in the selector so,
.
use this,
$('.select2-selection.select2-selection--single span.select2-selection__rendered')
instead of this
$('.select2-selection select2-selection--single span.select2-selection__rendered')
('.select2-selection select2-selection--single span.select2-selection__rendered')