yxw 2023-11-21 18:28:46 +08:00
parent 77649429e2
commit 72a098fdee
1 changed files with 7 additions and 1 deletions

View File

@ -180,7 +180,7 @@
$(document).ready(function () {
$("input[name='mic1']").on('change', function () {
let $value = $("input[name='mic1']:checked").val()
//alert($value)
console.log($value)
let url = "http://192.168.0.116/cgi-bin/test.cgi"
let postData = {
action:'filter_set',
@ -338,6 +338,8 @@
type: "GET",
url: url,
success: function (res) {
console.log(typeof(res))
console.log(res.success)
if (res.success) {
data = res.content
bindData()
@ -374,6 +376,10 @@
$("#handle1-value").val(`${data.mic1.value}`);
$("#handle2").roundSlider("option", "value", `${data.mic2.value}`);
$("#handle2-value").val(`${data.mic2.value}`);
let $value = $("input[name='mic1']:checked").val()
console.log($value)
}
$("#handle1").roundSlider({