Jump to content

A Noob Need A Help


thelee

Recommended Posts

Make a HTML file (e.g. index.html). Put the HTML in the <body> section. Put the Javascript in the <head> section, within <script type="text/javascript"> and </script> tags. Before the Javascript code, include the jQuery library, like this:

 

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>

 

So, like this:

 


<!DOCTYPE html>
<html>
<head>
<title>Some Title</title>

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>

<script type="text/javascript">
// Javascript code here!
</script>

</head>

<body>

The HTML here

</body>

</html>

Link to comment
https://forums.phpfreaks.com/topic/271141-a-noob-need-a-help/#findComment-1394947
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.