fix
parent
13520a4b68
commit
77649429e2
15
filter.html
15
filter.html
|
@ -181,8 +181,9 @@
|
|||
$("input[name='mic1']").on('change', function () {
|
||||
let $value = $("input[name='mic1']:checked").val()
|
||||
//alert($value)
|
||||
let url = "http://192.168.0.116/cgi-bin/test.cgi?action=filter_set"
|
||||
let url = "http://192.168.0.116/cgi-bin/test.cgi"
|
||||
let postData = {
|
||||
action:'filter_set',
|
||||
subaction: 'mic1',
|
||||
state: $value,
|
||||
module: 'mic1'
|
||||
|
@ -211,8 +212,9 @@
|
|||
$("input[name='mic2']").on('change', function () {
|
||||
let $value = $("input[name='mic2']:checked").val()
|
||||
// alert($value)
|
||||
let url = "http://192.168.0.116/cgi-bin/test.cgi?action=filter_set"
|
||||
let url = "http://192.168.0.116/cgi-bin/test.cgi"
|
||||
let postData = {
|
||||
action:'filter_set',
|
||||
subaction: 'mic2',
|
||||
state: $value,
|
||||
module: 'mic2'
|
||||
|
@ -239,8 +241,9 @@
|
|||
|
||||
$("#mic1-type").on('change', function () {
|
||||
// alert($("#mic1-type").val())
|
||||
let url = "http://192.168.0.116/cgi-bin/test.cgi?action=filter_set"
|
||||
let url = "http://192.168.0.116/cgi-bin/test.cgi"
|
||||
let postData = {
|
||||
action:'filter_set',
|
||||
subaction: 'mic1',
|
||||
type: $("#mic1-type").val(),
|
||||
module: 'mic1'
|
||||
|
@ -267,8 +270,9 @@
|
|||
|
||||
$("#mic2-type").on('change', function () {
|
||||
// alert($("#mic2-type").val())
|
||||
let url = "http://192.168.0.116/cgi-bin/test.cgi?action=filter_set"
|
||||
let url = "http://192.168.0.116/cgi-bin/test.cgi"
|
||||
let postData = {
|
||||
action:'filter_set',
|
||||
subaction: 'mic2',
|
||||
type: $("#mic2-type").val(),
|
||||
module: 'mic2'
|
||||
|
@ -296,8 +300,9 @@
|
|||
|
||||
|
||||
function changeInputValue(module, number) {
|
||||
let url = "http://192.168.0.116/cgi-bin/test.cgi?action=filter_set"
|
||||
let url = "http://192.168.0.116/cgi-bin/test.cgi"
|
||||
let postData = {
|
||||
action:'filter_set',
|
||||
subaction: module,
|
||||
audio: number,
|
||||
module: module
|
||||
|
|
Loading…
Reference in New Issue