ここに記載されているjqueryダイアログページがあります:
<div data-role="page" data-rel="dialog" data-close-btn="none">
<div data-role="header">
<h2>Failed to find driver</h2>
</div>
<div data-role="content">
<p>Failed to find a driver. Would you like to continue searching or cancel the search? </p>
<a data-role="button" id="continueBtn" onclick="alert('continue')">Continue </a>
<a data-role="button" id="cancelBtn" onclick="alert('cancel')">Cancel </a>
</div>
</div>
これらのアラートはダイアログで機能します。ただし、これらのボタンに他の機能のイベント ハンドラーをアタッチすることはできません。これらのボタンにイベントを添付するにはどうすればよいですか?