+ 1

Av been trying js script on my index.php page but its not working . pls can someone help me out?

<!DOCTYPE html> <html> <head> <link rel='stylesheet' type="text/css" href="main.css"/> <script src="https://code.jquery.com/jquery-3.0.0.js"></script> <script src="https://code.jquery.com/jquery-migrate-3.0.0.js"></script>          <script>     $(document).ready(function() {           $("#log").submit(function() {              var username = $("#username").val();              var password = $("#password").val();    

9th Mar 2017, 12:52 AM
SureCoder
SureCoder - avatar
3 ответов
+ 1
I don't get you what do u mean by its incomplete
9th Mar 2017, 1:09 AM
SureCoder
SureCoder - avatar
+ 1
<html> needs a </html> <head> needs a </head> etc... i think you should learn the basics of html code and come back later to mixing different languages. once you know how the different tags work it becomes much clearer and simpler (and more fun) with html. when building a house you start with pen and paper... there are many tutorials online, just google. :)
9th Mar 2017, 2:22 AM
Coinage
Coinage - avatar
0
what to do you want to work from it? its incomplete, you didn't close script and also this page doesn't have any html thing so it wont show on browser
9th Mar 2017, 1:08 AM
Raj Kumar Chauhan
Raj Kumar Chauhan - avatar