I have a table row with ONCLICK event (that toggles additional data below). Inside one of the row cells I have a button (when clicked is performing an AJAX action). When I click
If you dislike the javascript solution, in many cases a CSS solution is possible as well:
style="pointer-events: none;"
That will supress the onclick event. However, in some cases I still had issues where it didn't seem to work. In the majority of cases I just use the style above. 0 讨论(0) 查看其它4个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
onclick event. However, in some cases I still had issues where it didn't seem to work. In the majority of cases I just use the style above. 0 讨论(0) 查看其它4个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
However, in some cases I still had issues where it didn't seem to work. In the majority of cases I just use the style above.