+ 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(); Â Â
3 Answers
+ 1
I don't get you what do u mean by its incomplete
+ 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. :)
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