I am trying to run a function onclick
of any button with class="stopMusic"
.(我正在尝试使用class="stopMusic"
对任何按钮运行onclick
函数。)
var stopMusicExt = document.getElementByClass("stopButton");
stopButton.onclick = function() {
var ta = document.getElementByClass("stopButton");
document['player'].stopMusicExt(ta.value);
ta.value = "";
};
ask by user547794 translate from so