Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
JavaScript Tutorial
10-07-2013, 09:44 PM, (This post was last modified: 10-07-2013, 09:46 PM by Trick007.)
Post: #1
JavaScript Tutorial
JavaScript is the scripting
language of the Web.
All modern HTML pages are
using JavaScript to add
functionality,
validate input, communicate
with web servers, and much
more.
JavaScript is easy to learn. You will enjoy it.

Display Date script

<!DOCTYPE html>
<html>
<head>
<script>
function displayDate()
{
document.getElementById("demo").innerHTML=Date();
}
</script>
</head>
<body>

<h1>My First JavaScript</h1>
<p id="demo">This is a paragraph.</p>

<button type="button" onclick="displayDate()">Display Date</button>

</body>
</html>
Reply
[-] The following 1 user Likes Trick007's post:
  • Sanjay
10-08-2013, 11:11 AM,
Post: #2
RE: JavaScript Tutorial
Hmmmm
Reply
10-09-2013, 07:14 PM,
Post: #3
RE: JavaScript Tutorial
nice.. . . . . Bro
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)