//Add solve puzzle buttons
jSolvePuzzleButtonsHTML = "<div><button id=\"bsolveacross\">solve word across</button><button id=\"bsolvedown\">solve word down</button><button id=\"bsolvepuzzle\">solve puzzle</button></div>";
jQuery("#gridpuzzlewrapper").append(jSolvePuzzleButtonsHTML);
jQuery("#bsolvedown").on('click', '#bsolvedown', function() {
alert("click called...");
});
出于某种原因,我的点击事件没有触发。
提前致谢...