当前位置:网站首页>An example of using dynamic datalist
An example of using dynamic datalist
2022-06-25 12:25:00 【sr_ www】
<input name="person_school" value="{$row[person_school]}" list="school_list" placeholder=" Please fill in your school name " />
<datalist id="school_list"></datalist>
<script> $('[name=person_school]').bind('input propertychange', function () {
var keyword = $(this).val().replace(' ', '') $('#school_list').empty() if (keyword != '') {
$.getJSON('/Home/School/get_search_result', {
keyword: keyword }, function (res) {
$.each(res.data, function (index, item) {
if (res.data.length > 1 || keyword != item.school_name) {
$('#school_list').append('<option value="' + item.school_name + '"/>') } }) }) } }) </script>
边栏推荐
- 使用php脚本查看已开启的扩展
- Redis雪崩、穿透和击穿是什么?
- Dynamic proxy
- New and old cluster migration of Minio data
- 图片打标签之获取图片在ImageView中的坐标
- R language uses the scale function to scale the input data of neural network to the minimum and maximum, scale the data to between 0 and 1, and divide the data set into training set and test set
- Ten commandments of self-learning in machine learning
- Gradle知识点
- sklearnex 让你的 sklearn 机器学习模型训练快得飞起?
- R语言caTools包进行数据划分、scale函数进行数据缩放、e1071包的naiveBayes函数构建朴素贝叶斯模型
猜你喜欢

架构师为你揭秘在阿里、腾讯、美团工作的区别

黑马畅购商城---2.分布式文件存储FastDFS

plt. GCA () picture frame and label
![[论]Learning Dynamic and Hierarchical Traffic Spatiotemporal Features with Transformer](/img/58/d68112a3d019de66150e2f5102f436.png)
[论]Learning Dynamic and Hierarchical Traffic Spatiotemporal Features with Transformer

Dark horse shopping mall ---3 Commodity management

Execution order of MySQL query statements join, on and where

An easy-to-use seal design tool - (can be converted to ofd file)

什么是Flink?Flink能用来做什么?

Redis雪崩、穿透和击穿是什么?

flutter常用命令及问题
随机推荐
[论]Learning Dynamic and Hierarchical Traffic Spatiotemporal Features with Transformer
ARM V7 连续加载/存储
Is it safe to open an account and buy stocks on the Internet?
plt. GCA () picture frame and label
Image tagging to obtain the coordinates of the image in the ImageView
JS to realize the calculation of discrete aggregation points
Install MySQL client
Kotlin学习笔记
如果你也想做自媒体,不妨听大周给您点建议
How do super rookies get started with data analysis?
ARM V7 ldr str 内存访问
2020最新最全IT学习线路
做自媒体视频需要怎么做才能年收入一百万?
为什么ping不通网站 但是却可以访问该网站?
Pd1.4 to hdmi2.0 adapter cable disassembly.
ECSHOP whole site custom URL supports directory type
R语言使用glm函数构建泊松对数线性回归模型处理三维列联表数据构建饱和模型、epiDisplay包的poisgof函数对拟合的泊松回归模型进行拟合优度检验(检验模型效果)
R language dplyr package summary_ The at function calculates the count number, mean and median of multiple data columns (specified by vectors) in the dataframe data, and specifies na RM parameter, spe
flutter常用命令及问题
Why do we do autocorrelation analysis? Explain application scenarios and specific operations