我怎样才能做到这一点
html
<button id="onclickpopupmenu">Test</button>
<button id="popupmenuok"></button>
javascript:
$("#onclickpopupmenu").bind("click",function(){
alert("this can execute multiple times")
$("#popmenuok").bind("click",function(){
alert("this has to be triggered only once eventhough the parent event trigger multiple times")
})
})
请帮我...