This repository has been archived by the owner on Mar 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 204
How can I know the json has been loaded #176
Comments
I solved the problem: $(window).bind("load", function () {
sjs.search(mykeyword);
}) |
Hallucination |
You can see your json file in the network tab of your browser's devtools. |
I mean program how to know,the success function is fake,i can't use callback. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Firstly, this is my code, I tried use search function, It can use while I input to console:
sjs.search(mykeyword)
, but this code in script, json may not be load. so how can I know the json has been loaded?The text was updated successfully, but these errors were encountered: