a question about async load widget html
-
hello 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 -
You can wait until document is loaded, so async in this situation is not suitable.
-
thanks , but how could I know when the document is loaded completely
Copyright © 2024 NodeBB | Contributors