This is a newbie question. I have two javascript and one html files. When I click on an image it goes to the first .js file and when it finnish to run all that code should go to the second .js file. But how can I connect the two functions that are in different files.
thanks
It doesn’t matter what files the functions are in, you can call the second function from the first one.
You should also consider why you are separateing your functions into seperate files – in general, they should all be in as few files as possible.