Introduction :
JavaScript is THE scripting language of the Web.
JavaScript is used in billions of Web pages to add functionality, validate forms, communicate with the server, and much more.
My First Example
<!DOCTYPE html>
<html>
<head>
<script>
function displayDate()
{
document.getElementById("demo").innerHTML=document.getElementById("textid").value;
}
</script>
</head>
<body>
<h1>My First JavaScript</h1>
<p id="demo">This is a paragraph.</p>
<input type="textbox" id="textid">
<button type="button" onclick="displayDate()">Display Name</button>
</body>
</html>
<%@ Register Tagprefix="cc1" Namespace="JW_FLV_Player_Control" Assembly="JW-FLV-Player-Control" %>
My First JavaScript
This is a paragraph.
No comments:
Post a Comment