tailieunhanh - Lecture E-Commerce - Chapter 27: Java Script (part I)

In this chapter students will be able to: JS variables, JS data types, JS functions, JS events, JS objects, JS strings, JS numbers, javascript operators, javascript math object, javascript dates, javascript booleans, javascript comparison and logical operators, javascript statements, javascript loop statements ( for, while, do/while), javascript best practices. | CSC 330 E-Commerce Teacher Ahmed Mumtaz Mustehsan GM-IT CIIT Islamabad Virtual Campus, CIIT COMSATS Institute of Information Technology T2-Lecture-6x JavaScript Part - I For Lecture Material/Slides Thanks to: Synopsis Introduction JavaScript Where To JavaScript Output JavaScript Syntax JavaScript Statements JavaScript Comments JavaScript Variables JavaScript Data Type T2-Lecture-6 Ahmed Mumtaz Mustehsan Introduction Introduction JavaScript is the programming language of the Web. All modern HTML pages are using JavaScript. JavaScript is one of 3 languages that all web developers MUST learn: HTML to define the content of web pages CSS to specify the layout of web pages JavaScript to program the behavior of web pages JavaScript is the most popular programming language in the world. It is the language for HTML, for the Web, for computers, servers, laptops, tablets and smart phones. T2-Lecture-6 Ahmed Mumtaz Mustehsan Where To place JavaScript In HTML, Java Scripts must be inserted between and tags. The lines between and contain the JavaScript code: Java Scripts can be put in the and in the section of an HTML page. T2-Lecture-6 Ahmed Mumtaz Mustehsan Example function myFunction() { ("demo").innerHTML = "My First JavaScript Function"; } Just take it for a fact, that the browser will interpret the code between the and tags as JavaScript. Old examples may have type="text/javascript" in the tag. This is no longer required. JavaScript is the default scripting language in all modern browsers and in HTML5. T2-Lecture-6 Ahmed Mumtaz Mustehsan 1- JavaScript Functions and Events Often, JavaScript code is written to be executed when an event occurs, like when the user clicks a button. JavaScript code inside a function, can be invoked later, . | CSC 330 E-Commerce Teacher Ahmed Mumtaz Mustehsan GM-IT CIIT Islamabad Virtual Campus, CIIT COMSATS Institute of Information Technology T2-Lecture-6x JavaScript Part - I For Lecture Material/Slides Thanks to: Synopsis Introduction JavaScript Where To JavaScript Output JavaScript Syntax JavaScript Statements JavaScript Comments JavaScript Variables JavaScript Data Type T2-Lecture-6 Ahmed Mumtaz Mustehsan Introduction Introduction JavaScript is the programming language of the Web. All modern HTML pages are using JavaScript. JavaScript is one of 3 languages that all web developers MUST learn: HTML to define the content of web pages CSS to specify the layout of web pages JavaScript to program the behavior of web pages JavaScript is the most popular programming language in the world. It is the language for HTML, for the Web, for computers, servers, laptops, tablets and smart phones. T2-Lecture-6 Ahmed Mumtaz Mustehsan .

crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.