F
F
freeman02042015-11-03 01:56:05
JavaScript
freeman0204, 2015-11-03 01:56:05

Javascript only works through preview brackets, how to fix it?

Javascript works only through preview brackets, if you just open the page in the browser, then nothing from the scripts works, how to fix it? Here is a link to the site.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Deodatuss, 2015-11-03
@freeman0204

in the path to the script, remove the slash at the beginning

A
Alexander Taratin, 2015-11-03
@Taraflex

Use open-server.ru for local development.
Javascript blocks the browser when run from a folder.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question