ボタンにカスタムイベントをバインドして、次のようなJqueryuiボタンプラグインを適用しています。
$(document).ready(function() {
$(".uibutton").live("CustomEvent", function() { $(this).button(); });
$(".uibutton").trigger("CustomEvent");
});
<input type="button" class="uibutton" >
これで、ボタンはpresent in the MarkUP
機能しますが、ボタンは機能created dynamically
しclass uibutton
ません。誰か教えてもらえますか?