0

How can i include both js and html file????

25th Nov 2019, 8:34 AM
Smruti ranjan Routray
7 Respostas
+ 2
<script src="..\[folder_name]\[file_name].js"> </script> Using this you can point to an external javascript file
26th Nov 2019, 1:43 PM
Vishnu
Vishnu - avatar
0
I want to made 2 diff. Pages for js and html.
25th Nov 2019, 8:38 AM
Smruti ranjan Routray
0
Website
25th Nov 2019, 10:42 AM
Smruti ranjan Routray
0
Yes, I know bt, I am trying to keep all the html part in one page and js part in another page. It may include through jquery "logincontent... " Bt dont know full procedure.
25th Nov 2019, 12:04 PM
Smruti ranjan Routray
0
Put your JavaScript file link just before the closing tag of your body such as: <!DOCTYPE html> <html> <body> <!-- your JavaScript goes below--> </body> </html>
25th Nov 2019, 5:27 PM
Spafu