我正在关注这个http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/index.htm?%28arctic%29#demos/jqxgrid/checkboxcolumn.htm 我想做的是我正在尝试到目前为止,在复选框上捕获更改我已经完成了类似这样的操作,但是遵循不触发任何事情可以告诉我我在这里缺少什么
jQuery('#jqxgrid').find('span').on("click",function() {
alert('i am here');
});
jQuery('#jqxgrid').on("click",function() {
alert('This works but when i try to click on <span> that holds checkbox, it dont alert any thing other then this it works');
});
我的HTML如下
<body class='default'>
<div id="jqxgrid"></div>
</body>