我有一个具有四列的表:id,item_number,feature,value.
该表看起来像这样,有大约500万条目.
??????????????????????????????????????
? id ? item_number ? feature ? value ?
??????????????????????????????????????
? 1 ? 234 ? 5 ? 15 ?
? 2 ? 234 ? 3 ? 256 ?
? 3 ? 453 ? 5 ? 14 ?
? 4 ? 453 ? 4 ? 12 ?
? 5 ? 453 ? 7 ? 332 ?
? 6 ? 17 ? 5 ? 88 ?
? 7 ? 17 ? …Run Code Online (Sandbox Code Playgroud) 有人可以在下面的代码中找到问题
$(document).ready(function () {
$("#leftsettingswindow").on("keyup", "#fontsize2", function () {
setTimeout(function () {
var txtVal = this.value;
$('#content').css("font-size", txtVal + "%");
}, 3000);
});
});
Run Code Online (Sandbox Code Playgroud)
这完美无缺,
$(document).ready(function () {
$("#leftsettingswindow").on("keyup", "#fontsize2", function () {
var txtVal = this.value;
$('#content').css("font-size", txtVal + "%");
});
});
Run Code Online (Sandbox Code Playgroud)
有任何想法吗?