How to use If Else condition in Javascript

How to use If Else condition in Javascript 1. if statement – use this statement to execute some code only if condition is true then else condition is excluded. 2. if…else statement – use this statement to execute some code when if condition is wrong on this condition else code run. Code:- <script type="text/javascript"> var

How to Create ABAP Program to Print Hello World

How to write ABAP program to Print Hello World.  1)      From the SAP initial screen provide transaction code   /NSE38 and press Enter.        2)     We will get ABAP Editior: Initial Screen.                3)     To Create program provide any name in program text box starting from z or

How to create database in Microsoft access

How to create database in Microsoft access I have found many computer users even don’t know about the Microsoft access.So here we describe about Microsoft Access. Microsoft Access, is a relational database management system from Microsoft that combines the relational Microsoft Jet Database Engine with a graphical user interface and software-development tools. It is a

How to create a database in sql server with Tsql

How to create a database in sql server with Tsql In this post we learn How to create a database in sql server with Tsql. In this script we define where to place files(MDF,LDF) about their size and auto-growth of the database file size.And also in which file-group the file should be placed. Script:- create database test onprimary( name=N’test’, filename=N’C:\Program

How to create a alert box in html through javascript

How to create a alert box in html through javascript In html through javascript you can also use alert message by the sample code present below.It is easy to use and also easy to edit. Code:- <html> <head> <script type="text/javascript"> function alert() { alert("Hightechnology!"); } </script> </head> <body> <input type="button" onclick="alert()" value="Hightechnology" /> </body> </html>

How to Show Date on button click through Javascript

Here is a example how to show the date when you click on the button through a javascript. Code:- <html> <head> <script type=”text/javascript”> function displayDate() { document.getElementById(“hightech”).innerHTML=Date(); } </script> </head> <body> <h1>My First Web Page</h1> <p id=”hightech”>Hightechnology.</p> <button type=”button” onclick=”displayDate()”>Display Date</button> </body> </html> Change accoding to your requirement.