In a webpage, JavaScript statements are inserted inside <script> </script> tags.
This script can be included to the webpage by including the script code in :
1. <head>…</head> tags.
2. <body>…</body> tags.
3. Create a separate .js file and link it to the webpage.
The script tags contain two attributes namely:
Language – “javascript”
Text – “text/javascript”
Both the attributes indicate the scripting language used. Usage of type attribute is recommended.
A simple Script program:
Script program:
This is similar to that of ABAP statement displayed below.
Syntax Explanation:
1. Start with a keyword
2. Literals are passed in double quotes in Script and in single quotes in ABAP. We can also pass literals in single quotes in scripts.
3. End of the statement is indicated by ‘.’ in ABAP and ‘;’ in javascript.
4. White spaces and line breaks are ignored. Hence we can give any no of line spaces between two statements as in ABAP.
5. Unlike ABAP, Javascript statements are case sensitive.
Nice idea,keep sharing your ideas with us.i hope this information's will be helpful for the new learners.
ReplyDeleteSoftware Testing Training in Chennai
Software testing training in OMR
JAVA Training in Chennai
Python Training in Chennai
Big data training in chennai
IOS Training in Chennai
Software Testing Training in Chennai
Software testing training in Tambaram
This was an awesome blog. The way the author has delivered the content is really simple and easy to understand. Waiting for more updates.
ReplyDeleteGerman Classes in Mulund
German Classes in Mulund West
French Classes in Mulund West
French Language Classes in Mulund
Spoken English Class in Chennai
Spoken English in Chennai
IELTS Coaching Centre in Chennai
English Speaking Course in Mumbai
IELTS Coaching in Mumbai
I would definitely thank the admin of this blog for sharing this information with us. Waiting for more updates from this blog admin.
ReplyDeletemicrosoft dynamics crm training in chennai
microsoft dynamics training in chennai
Tally Course in Chennai
ReactJS Training in Chennai
PHP Training in Chennai
ui design course in chennai
Angularjs Training in Chennai
CCNA Training in Chennai
Web Designing Course in chennai
The article is so informative. This is more helpful for our
ReplyDeleteselenium training in chennai
selenium online courses best selenium online training
selenium testing training
selenium classes
Thanks for sharing.
ReplyDeleteNice post
sap training institute in Noida
sap training institute in Delhi
Its helps me a lot to get the information
ReplyDeletesap logistics training institute in delhi
sap logistics training institute in Noida
Great Article android based projects
ReplyDeleteJava Training in Chennai Project Center in Chennai Java Training in Chennai projects for cse The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training