Hello HashCode, I decided to connect the library to a php file, but for some reason it cannot connect it, here is the code.
<?php session_start(); include("../config.php"); ?> <html> <head> <script src = "../typer.js"></script> <script src = "../engine.js"></script> <link rel = "stylesheet" type = "text/css" href = "../style.css" /> <title>Кобинет модератора</title> </head> <body id = "container"> <style> #back{ background-color: gray; opacity: 0.4; } #back:hover{ opacity: 1; } </style> <center> <div id = "back"> <input type = "submit" class = "button" value = "Список пользователей" onclick = "showAllUser()"/> </div> </center> <div id = "allUser"> <b>БЛА БАЛАЩЛАЩАЬ</b> </div> </body> </html>
Here is the JS code
$(document).ready(function(){ $('#allUser').hide(1); });
So if I insert this JS code into the php code itself between the <script> </ script> tags, then everything works, but when I put it into a separate file, nothing works. I checked the file in the folder there.