M
M
Mikhail Gilmutdinov2015-10-21 18:15:39
JavaScript
Mikhail Gilmutdinov, 2015-10-21 18:15:39

Why does it swear at a line in JS?

function include(scriptUrl) {
    document.write('<script src="' + scriptUrl + '"></script>');
}

changed
<script src="js/jquery-migrate-1.2.1.min.js"></script>

on the
<script src="../js/jquery-migrate-1.2.1.min.js"></script>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivanq, 2015-10-21
@Ivanq

IgRibgxl.jpg

M
Mikhail Gilmutdinov, 2015-10-21
@Mixailhr

GET http://localhost/salon/portfolio/js/superfish.js include @ tm-scripts.js:75(anonymous function) @ tm-scripts.js:78(anonymous function) @ tm-scripts.js:81
tm-scripts.js:2 GET http://localhost/salon/portfolio/js/jquery.ui.totop.js include @ tm-scripts.js:2(anonymous function) @ tm-scripts.js:39(anonymous function) @ tm-scripts.js:45

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question