Select2.min.js:未为select2 s2id_city_id定义21个未被捕获的查询函数 [英] Select2.min.js:21 uncaught query function not defined for select2 s2id_city_id

查看:299
本文介绍了Select2.min.js:未为select2 s2id_city_id定义21个未被捕获的查询函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在更新记录更新记录的记录。但我需要刷新页面才能看到结果......这是我的代码



我尝试过的事情:



I am updating record the record it's updating the record. but i need to refresh the page to see the results... here is my code

What I have tried:

$(document).ready(function () {
    $('#interviewcenter-edit-details .select2me').select2({
        placeholder: "Select an option",
        allowClear: true
    });
});

推荐答案

document )。ready( function (){
(document).ready(function () {


' #interviewcenter-edit-details .select2me')。select2({
占位符: 选择一个n选项
allowClear: true
});
});
('#interviewcenter-edit-details .select2me').select2({ placeholder: "Select an option", allowClear: true }); });


这篇关于Select2.min.js:未为select2 s2id_city_id定义21个未被捕获的查询函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆