@julian thanks, but I have tried to listen to the hook, and the callback in the action:ajaxify.contentLoaded
listener excute even ealier than the callback in $(document).ready
,why is that...
C
ccmtlittlestone
@ccmtlittlestone
Posts
-
a question about async load widget html -
a question about async load widget htmlthanks , but how could I know when the document is loaded completely
-
a question about async load widget htmlhello there, I have tried to add a widget to my forum , but it load the widget html in a async way, so when I pick a dom in
$(document).ready(function(){ $('some dom').dosth()})
,I cant obtain the dom because the widget html dom haven't load yet.
how can i solve this, very grateful if any help , much thanks -
a question about async load widget htmlhello there, I have tried to add a widget to my forum , but it load the widget html in a async way, so when I pick a dom in
$(document).ready(function(){ $('some dom').dosth()})
,I cant obtain the dom because the widget html dom haven't load yet.
how can i solve this, very grateful if any help , much thanks