开发者

javascript input onchange not working

why this doesn´t work:

开发者_运维知识库inputButton.addEventListener('onchange', jsFunction, false);

I change the inputbox and it doesn´t call jsFunction.


Try change instead of onchange

inputButton.addEventListener('change', jsFunction, false);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜