setTimeout does not work

后端 未结 4 801
攒了一身酷
攒了一身酷 2021-02-06 08:44

I want to load an OWL file before executing other (visualisation-)scripts. To do this I tried everything from

$(document).ready

to

<         


        
4条回答
  •  有刺的猬
    2021-02-06 09:14

    setTimeout(visualize(file), 2000) calls visualize immediately and passes its result to setTimeout, just like any other function call.

提交回复
热议问题