在html拉一个button:
$("#Button1").on('click', function () { var self = $(this); if (self.val() == "关") self.val("开"); else self.val("关"); });
本文共 238 字,大约阅读时间需要 1 分钟。
在html拉一个button:
$("#Button1").on('click', function () { var self = $(this); if (self.val() == "关") self.val("开"); else self.val("关"); });
转载地址:http://wxpml.baihongyu.com/