Javascript language

R4R® Javascript Javascript Example
(追記) (追記ここまで)
(追記) (追記ここまで)
Prompt Box in JavaScript

A prompt box is often used if you want the user to input a value before entering a page.

Step 1. Written below code in your application

<script language="javascript">
function displayDate()
{
alert(Date());
}
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
 <title>Display</title>
</head>
<body>
 <form id="form1" runat="server">
 <div>
 <button type="button" onclick="displayDate()">DisplayDate</button>
 </div>
 </form>
</body>
</html>
(追記) (追記ここまで)

Step 2. Run the Application. Click on Button.

You Entered in Website

(追記) (追記ここまで)
Copyright ©2021-22 r4r.co.in, all rights reserved. Theguestspost.com
Sitemap
Career
Post comment
About us
Subscription
Unsubscription

AltStyle によって変換されたページ (->オリジナル) /