アラートボックスを「拡張」して、たとえば確認ボックスやプロンプトボックスを表示したいのですが、コールバック関数を近くで使用して、たとえばデータベースに情報を保存したいと考えています。
私のアラートボックスの構造は次のようになります:
<div data-alert class="alert-box success">
<a href="#" class="close">×</a>
<h4>This is a <span class="bold">title</span></h4>
<p>This is an error alert a bit more complex.</p>
<p>
<a href="#" class="button alert-box-close">Close</a>
<a href="#" class="button alert">Cancel</a>
</p>
</div>
.alert-box-close
私が抱えている問題は、クラスがクラスのようにどのように機能する.close
かです。
助けてくれてありがとう