added jquery and js to project
This commit is contained in:
parent
880113ac01
commit
326d1decae
@ -1,15 +1,7 @@
|
|||||||
public class main {
|
public class main {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
Thread mythread = new Thread(new Runnable() {
|
Thread mythread = new Thread(() -> new Webserver().startserver());
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
new Webserver().startserver();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
mythread.start();
|
mythread.start();
|
||||||
System.out.println("thread started");
|
System.out.println("thread started");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,18 @@
|
|||||||
<html>
|
<!DOCTYPE html>
|
||||||
<head>
|
<html lang="en" dir="ltr">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title></title>
|
||||||
|
|
||||||
|
<script
|
||||||
|
src="https://code.jquery.com/jquery-3.4.1.slim.min.js"
|
||||||
|
integrity="sha256-pasqAKBDmFT4eHoN2ndd6lN370kFiGUFyTiUHWhU7k8="
|
||||||
|
crossorigin="anonymous"></script>
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="css/index.css">
|
<link rel="stylesheet" type="text/css" href="css/index.css">
|
||||||
</head>
|
<script type="text/javascript" src="js/index.js"> </script>
|
||||||
<body class="test">
|
</head>
|
||||||
hello there
|
<body class="test">
|
||||||
</body>
|
hello there
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
3
wwwroot/js/index.js
Normal file
3
wwwroot/js/index.js
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
$(document).ready(function() {
|
||||||
|
console.log("hey from js");
|
||||||
|
});
|
Loading…
Reference in New Issue
Block a user