— And now i realize that this works after second call.
didnt know that
myFunc1(); myFunc2();
in javascript doesnt mean
myFunc2
will not wait until
myFunc1
done
Message permanent page
— Did you know any google keyword about this?
— document.querySelector('#table_body").innerHTML= ''
— Like i said, its not work in first call
— I need to click the button twice
— My line is fully working, the problem is in your logic