我想修改我的HTML代码,如Toggle Switch,当我关闭Toggle Switch时,它会发送/ relay1off然后Toggle Switch ON它会发送/ relay1on
例如代码:
https://drive.google.com/file/d/0B6-d8uCmJ980cHdOWGpHZ1dSbHc/view?usp=sharing 我的代码: https://drive.google.com/file/d/0B6-d8uCmJ980ci02c2g4clJQck0/view?usp=sharing