Answer the question
In order to leave comments, you need to log in
How to start a new instagram profile?
Is there any impact on the issuance, whether a profile is made on a new phone number or on one to which another account is already linked?
At what stage should you think about advertising?
How important is the division of posts into sections for algorithms?
What is the optimal number of photos/videos to upload per week?
etc.
What should be considered in general when creating a new profile so that it does not die before birth?
Answer the question
In order to leave comments, you need to log in
Thanks to all! found a solution:setTimeout(function() {F1(sname, cls);}, 5000);
1. First, it is better to call the function again after the successful completion of the ajax request. Those. move setTimeout to "success callback ". And setInterval is not a very good solution for this task, as suggested above.
2. Secondly, calling the function again, as you did, will not lead to anything good, because you are not passing arguments to the function.
3. Thirdly, looking back at point 2, it is not clear which arguments should be passed: either from the previous call, or whether it is necessary to re-run through the "td[data-pll]" elements, collect data from the bottom and pass it to the function .
The syntax for calling a function with parameters passed to it can be like this:
setTimeout(func, delay, [param1, param2, ...]);
// т.е. в вашем случае:
setTimeout(F1, 5000, sname, cls);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question