我怎样才能添加变量i
在#red
green
等在下面?
$( "#red'+i', #green'+i', #blue'+i'" ).slider({
orientation: "horizontal",
range: "min",
max: 255,
value: 127,
slide: refreshSwatch,
change: refreshSwatch
});
到目前为止,我对此一无所知,请指教。
$("#red" + i + ", #green" + i + ", #blue" + i).slider({
orientation: "horizontal",
range: "min",
max: 255,
value: 127,
slide: refreshSwatch,
change: refreshSwatch
});
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句