jquery.on()
次のようなイベントにバインドする関数に少し慣れています。
$(document).on("mouseover", ".myclass", function() {
$(this).customerFunction(); //or something like .tooltip()
return this;
});
ただし、イベント時だけでなく、HTML に存在するcustomerFunction()
たびにこれをバインドするにはどうすればよいですか? .myclass
標準のページの読み込みでできることはわかってい
$(".myclass").customerFunction();
ますが、ページが ajax 経由で読み込まれると機能しません。
乾杯、