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 -
Why you still use async way? waiting the document to be ready is needed.
Copyright © 2024 NodeBB | Contributors