# TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI AXBOROT TEXNOLOGIYALARI FAKULTETI MULTIMEDIA TEXNOLOGIYALARI KAFEDRASI

Size: px
Start display at page:

## Transcription

1 TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI AXBOROT TEXNOLOGIYALARI FAKULTETI MULTIMEDIA TEXNOLOGIYALARI KAFEDRASI REFERAT MUALLIF: X.A.Ishanxodjayeva (TATU, mail.ru) JAVA SCRIPT TILINI O RGANAMIZ Toshkent

7 var x = 10; var y = 20; var жавоб = x + y; alert(жавоб) </head> <body> <form> <input type="button" value= жавоб" onclick="sum()"> //Event handler onclick </form> STANDART FUNKSIYALAR -eval; -escape; -unescape; -parseint; -parsefloat Yuqoridagi funksiyalarni ishlatish uchun quyidagi ob ektlardan foydalaniladi: Math-matematik funksiyalarni qo llash uchun kerak bo ladigan ob ekt. String-Qatorlarni qayta ishlash ob ekti. Window-Muloqot(dialog) oynasini ochish ob ekti. 1.eval( ifoda ) Misol: Val=2; Ret=eval( 2+Val ); alert(ret); //natija 4 soni eval( ) // natija 6 soni eval( ) //natija 14 soni eval( ) //natija 5 soni eval( ) // natija 3 soni 2.escape( ifoda qator ) Funksiya argumenti qator yoki ifoda bo lishi mumkin.bu funksiya raqamlar, lotin alifbosi va +, -, *, belgilarni o zgartirmasdan qolgan simvollarni %XX kombinasiyasi bilan o zgartiradi. XX-o n oltilik kod. Misol: escape( Salom dunyo! ) // natija Salom%20dunyo%21 3.unescape( ifoda qator ) Misol: unescape( Salom%20dunyo%21 ) natija Salom dunyo! 4. parseint Qatorni butun songa aylantiruvchi usul yoki funksiyadir. string --> integer Misol 1: parseint(.3 ) // natija 0.3 parseint( 0.1e6 ) // natija

8 Misol 2: var a= 3 var b="4"; var c1=a+b; --> c1="34"; var c2=parseint(a) + parseint(b); 5. parsefloat Qatorni haqiqiy songa aylantiruvchi usul. string --> float Misol 1. Qo shish va ko paytirish amallarini bajaruvchi dastur kodini ko raylik: <head> <title></title> <script id="clienteventhandlersjs" language="javascript">function Add() var x=myform.qabul1.value; var y=myform.qabul2.value; if ((x=="") (y=="" )) alert("qiymatlarini kiriting:"); else var z=parsefloat(x)+parsefloat(y); myform.natija.value=z; function Kopaytirish() var x=myform.qabul1.value; var y=myform.qabul2.value; var z=parsefloat(x)*parsefloat(y); myform.natija.value=z; </head> <body bgcolor="#d3dec8" ms_positioning="gridlayout"> <form name="myform"> <INPUT id="button1" type="button" name="button1" onclick="add()"> <INPUTid="Button2"type="button" name="button2" onclick="kopaytirish()"> <INPUT id="qabul2" type="text" name="qabul2"> <INPUT id="qabul1" type="text" name="qabul1"> <INPUT id="natija" type="text" size="18" name="natija"> </form> 8

9 Qo shish jarayoni natijasi. Ko paytirish jarayoni natijasi. QATORLAR BILAN ISHLOVCHI FUNKSIYALAR Undan tashqari Java Script dasturlash tilida qatorlar bilan ishlash uchun tayyor funksiyalar mavjud. Ular quyidagilar: 1. length -bu funksiya qator uzunligini aniqlaydi. var str= baxtiyor_007 var sleng=str.length; // natija sleng=12 2. charat(son qiymati) -bu funksiya o zining parametri yordamida berilgan qatordagi ixtiyoriy simvol tanlab olinadi. Funksiya parametri 0 qiymatidan boshlanadi. 9

11 dan farqi shundaki, aniqlash jarayoni qatorning oxirgi simvolidan boshlanadi. Index 0 dan boshlanadi (index from 0). Agar berilgan qatordan kerakli simvol topilmasa natija -1 ga teng bo ladi. Misol 1; function test() var str1="baxtiyor" var s =str.lastindexof("yor"); // natija 5 alert(s); Mosol 2: var str1="hello" var s =str.lastindexof("l"); // natija 3 var s =str.lastindexof("l",2); // natija 2 var s =str.lastindexof("l",1); // natija -1 var s =str.lastindexof("hell,1); // natija 0 var s =str.lastindexof( Hell ); // natija 0 7. tolowercase() bu funksiya rus yoki lotin alifbosidagi katta harflarni kichik harflarga almashtiradi. Misol 1: SAlom!.toLowerCase(); // natija salom! Misol 2: <head> <script> function my() var str='бахтиёр'; var s=str.tolowercase(); alert(s); </head> <body> <input type="button" value="tugma" onclick="my()"> Natija: 11

12 8.toUpperCase()- bu funksiya rus yoki lotin alifbosidagi almashtiradi. Misol 1: Salom!.toUpperCase(); // natija SALOM! Misol 2: <head> <script> function my() var str='baxtiyor'; var s=str.touppercase(); alert(s); </head> <body> <input type="button" value="tugma" onclick="my()"> Natija: kichik harflarni katta harflarga 12

13 9.charCodeAt(son qiymati) bu funksiya yordamida oraliqqa tushadigan simvol kodini aniqlash mumkin (ASCII). Misol 1: var str= copy ; var mychar=str.charcodeat(0); // natija mychar=99( c ) Misol 2: <head> <script> function charat() var str='salom'; var s=str.charcodeat(2); alert(s); </head> <body> <input type="button" value="tugma" onclick="charat()"> Natija: 13

15 Natija: Misol 2: function men() if (confirm('ok')) alert('rahmat!') else alert('hayr!') Arifmetik ifodalar Aritfmetik ifodalarning qiymati sonlardan iborat bo ladi va ularning natijasi ham faqat sonlardir. 1.Unar amal. -a // o rin almashtirish amali; ++a // bittaga oshirish; a++ --a // bittaga kamaytirish; a-- Misol 1: function icrement() var x=5; var y=5; alert(++x+" "+y++); 15

16 Misol 2: function dicrement() var x=5; var y=5; alert(++x+" "+y++); Misol 3: function arifmetik () var a=3,b=3; var x=1,y=1; x++; ++y; a--; --b; alert("x="+x+" "+"Y="+y+" "+"A="+a+" "+"B="+b); 2.Binar amal. a * b // ko paytirish; a / b // bo luv; a % b // a ni b ga bo lgandan keyingi qoldiq; a & b // VA ( И ) amali (поразрядное); a b // YOKI ( ИЛИ ) amali (поразрядное). 3. Sdvigi(siljish, o zgarish) a<<b // chapga siljish; a>>b // o ngga siljish; MATEMATIK FUNKSIYALAR 16

17 Matemetik funksiyalar Math ob yekti yordamida bajariladi. Bu ob yekt tarkibida barcha matematik amallar shuningdek sin, cos, tan, abs, max va min, log, atan, asin, acos, exp, random, round sqrt kabi funksiyalar mavjud va ulardan Math ob yekti yordamida foydalaniladi. Java Script dasturlash tilida ular quyidagicha ifodalanadi: Math.abs(x) - qiymatning modulini hisoblash; Math.acos(x) - x ning arkkosinusini hisoblash; Math.asin(x) - x ning arksinusini hisoblash; Math.atan(x) - x ning arktangensini hisoblash; Math.atan2(a,b) - arktanges a / b bo yich hisoblash; Math.ceil(x) - x ga juda yaqin sonni topish; Math.cos(x) - x o zgaruvchining kosinusini hisoblash; Math.sin(x) - x o zgaruvchining sinusini hisoblash; x Math.exp(x) - e ni hisoblash; Math.log(x) - natural logarifmni hisoblash; Math.max(a,b) - a va b sonlar ichidan eng kattasini topish; Math.min(a,b) - a va b sonlar ichidan eng kichigini topish; b Math.pow(a,b) - ( a ) a ning b chi darajasini hisoblash; Math.random() ; Math.round(x) - x sonini butun qismini topish; Math.sqrt(x) - x ni hisoblash; Math.tan(x) x o zgaruvchini tangansini hisoblash; Misol : <head> <title></title> <script id="clienteventhandlersjs" language="javascript"> function math_max() var x=form1.text1.value; var y=form1.text2.value; var z=math.max(x,y); // funsiya max form1.text3.value=z; //alert(z); function math_min() var x=form1.text1.value; var y=form1.text2.value; var z=math.min(x,y); /funksiya min alert(z); function math_pow() var x=form1.text1.value; var y=form1.text2.value; var z=math.pow(x,y); var z1=math.pow(x,2); form1.text3.value=z+ +z1; function math_sqrt() 17

18 var x=form1.text1.value; var z=math.sqrt(x); form1.text3.value=z; function math_sin() var x=form1.text1.value; var y=form1.text2.value; var z=math.sin(x/y); alert(z); function math_log() var x=form1.text1.value; var y=form1.text2.value; var z=math.log(x); var z1=math.log(y)/math.log(x) // log y x funksiyasi alert(z+ +z1); function math_modul() var x=form1.text1.value; var y=form1.text2.value; var z=math.abs(x+y); form1.text3.value=z; function math_round() var x=3.296, y=4.571; var z=math.round(x); // natija 3 var z1=math.round(y); // natija 5 form1.text3.value=z+ +z1; function math_exp() var x=form1.text1.value; var y=form1.text2.value; var z=math.exp(x*y); // e darajasi x*y form1.text3.value=z; function math_ceil() var y=form1.text2.value; var z=math.ceil(y); form1.text3.value=z; //alert(z); </head> 18

19 <body bgcolor="#99cccc" ms_positioning="gridlayout"> <form id="form1" name="form1"> <INPUT id="text2" type="text" name="text2" language="javascript" size="21"> <INPUT id="text3" type="text" size="4" name="text3"> <INPUT id="text1" type="text" name="text1" size="21"> <INPUT id="button1" </form> type="button" onclick="funksiya nomi"> MANTIQIY IFODALAR Mantiqiy ifodalarning qiymati ikkita: true va false qiymatlarini qabul qiladi. 1.Mantiqiy amallar. -!a //mantiqiy EMAS ( НЕ ) - a && b //mantiqiy VA ( И ) - a b // mantiqiy YOKI ( ИЛИ ) 2. Solishtirish amali. - a < b //kichik - a <= b // kichik yoki teng - a > b // katta - a >= b // katta yoki teng Yuqoridagi solishtirish amali faqat son va qatorlarga nisbatan ishlatiladi. Undan tashqari hamma toifadagi(tip) ma lumotlar uchun qo llaniladigan solishtirish amallari ham mavjud: - a= =b // teng (qiymatlat bo yicha) - a= = =b // teng (qiymatlar va toifalar bo yicha) - a!= b //teng emas Mantiqiy ifodalarga doir misollarni hozir ko rib o tmaymiz.shart va sikl operatorlaridan keyin mantiqiy ifodalarni misollar yordamida tushunib olasiz. 19

20 ADABIYOTLAR 1. JavaScript [Текст] : справочник / Рик Дарнелл. - СПб; М.; Харьков: Питер, с. 2. Бранденбау.JAVA SCRIPT.Сборник рецептов для профессионалов.спб

### AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI FARG ONA FILIALI

AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI FARG ONA FILIALI Kompyuter injiniring fakulteti Axborot texnologiyalari kafedrasi

### O`ZBЕKISTОN RЕSPUBLIKАSI ОLIY VА O`RTА MАХSUS TА LIM VАZIRLIGI АNDIJОN MАSHINАSОZLIK INSTITUTI

O`ZBЕKISTОN RЕSPUBLIKАSI ОLIY VА O`RTА MАХSUS TА LIM VАZIRLIGI АNDIJОN MАSHINАSОZLIK INSTITUTI АVTОMАTIKА VА ELЕKTRОTЕХNОLОGIYA FАKULTЕTI AXBOROT TEXNOLOGIYALARI KАFЕDRАSI C++ DASTURLASH TILI NI O RGANISH

### Sh.A. Nazirov, F.M. Nuraliev. DHTML yordamida Web-sahifa. Dasturlash II fanidan dasturlashga yo naltirilgan IKT tizimilari muttahasislari uchun

Sh.A. Nazirov, F.M. Nuraliev DHTML yordamida Web-sahifa Dasturlash II fanidan dasturlashga yo naltirilgan IKT tizimilari muttahasislari uchun TOSHKENT, 2006 Tastiqlangan: Samarqand sanoat va axborot texnologiyalar

### O zbеkiston Rеspublikasi Oliy va o rta maxsus ta lim vazirligi. Namangan muhandislik pеdagogika instituti. Kasb ta`limi fakultеti

O zbеkiston Rеspublikasi Oliy va o rta maxsus ta lim vazirligi Namangan muhandislik pеdagogika instituti Kasb ta`limi fakultеti Kasb ta`limi (Informatika va AT) kafеdrasi fanidan Ma ruzalar matni Namangan

### O ZBEKISTON RESPUBLIKASI AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI

O ZBEKISTON RESPUBLIKASI AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI URGANCH FILIALI KOMPYUTER INJINIRINGI FAKULTETI DASTURIY

### O ZBEKISTON RESPUBLIKASI OLIY VA O RTA-MAXSUS TA LIM VAZIRLIGI ALISHER NAVOIY NOMIDAGI SAMARQAND DAVLAT UNIVERSITETI MEXANIKA-MATEMATIKA FAKULTETI

O ZBEKISTON RESPUBLIKASI OLIY VA O RTA-MAXSUS TA LIM VAZIRLIGI ALISHER NAVOIY NOMIDAGI SAMARQAND DAVLAT UNIVERSITETI MEXANIKA-MATEMATIKA FAKULTETI AMALIY MATEMATIKA VA INFORMATIKA BO LIMI 5110700-INFORMATIKA

### «Veb ilovalarni yaratish» fanidan tajriba ishlarini bajarish bo yicha

O ZBEKISTON RESPUBLIKASI AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARNI RIVOJLANTIRISH VAZIRLIGI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI URGANCH FILIALI Kompyuter injiniring fakulteti Dasturiy injiniring

### LECTURE-3. Exceptions JS Events. CS3101: Programming Languages: Javascript Ramana Isukapalli

LECTURE-3 Exceptions JS Events 1 EXCEPTIONS Syntax and usage Similar to Java/C++ exception handling try { // your code here catch (excptn) { // handle error // optional throw 2 EXCEPTIONS EXAMPLE

### Like most objects, String objects need to be created before they can be used. To create a String object, we can write

JavaScript Native Objects Broswer Objects JavaScript Native Objects So far we have just been looking at what objects are, how to create them, and how to use them. Now, let's take a look at some of the

### CISH-6510 Web Application Design and Development. Overview of JavaScript. Overview

CISH-6510 Web Application Design and Development Overview of JavaScript Overview What is JavaScript? History Uses of JavaScript Location of Code Simple Alert Example Events Events Example Color Example

### WEB DASTURLASH. fanidan MA RUZALAR MATNI

WEB DASTURLASH fanidan MA RUZALAR MATNI 1 1-ma'ruza. Wеb-dasturlash faniga kirish. Rеja: I. Kirish. II. Asosiy qism: 1. Web-sahifa, Web-sayt, Web-sеrvеr; 2. Internet tehnologiyasi haqida 3. Web-tеxnologiya

### O ZBEKISTON RESPUBLIKASI OLIY VA O RTA MAXSUS TA LIM VAZIRLIGI TERMIZ DAVLAT UNIVERSITETI FIZIKA MATEMATIKA FAKULTETI. Mengliev Sh.A.

O ZBEKISTON RESPUBLIKASI OLIY VA O RTA MAXSUS TA LIM VAZIRLIGI TERMIZ DAVLAT UNIVERSITETI FIZIKA MATEMATIKA FAKULTETI Amaliy matematika va informatika kafedrasi Mengliev Sh.A. Borland C++ dasturlash tili

### O'zbekiston Respublikasi Aloqa,Axborotlashtirish va Telekommunikatsiya Texnologiyalari Davlat Qo'mitasi. Toshkent Axborot Texnologiyalari Universiteti

O'zbekiston Respublikasi Aloqa,Axborotlashtirish va Telekommunikatsiya Texnologiyalari Davlat Qo'mitasi Toshkent Axborot Texnologiyalari Universiteti DIF fakulteti ATDT kafedrasi "OYDT" fanidan KURS ISHI

### LECTURE-2. Functions review HTML Forms. Arrays Exceptions Events. CS3101: Scripting Languages: Javascript Ramana Isukapalli

LECTURE-2 Functions review HTML Forms Arrays Exceptions Events 1 JAVASCRIPT FUNCTIONS, REVIEW Syntax function (params) { // code Note: Parameters do NOT have variable type. 1. Recall: Function

### BAKALAVR BITIRUV MALAKAVIY ISHI

O'ZBEKISTON ALOQA VA AXBOROTLASHTIRISH AGENTLIGI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI Himoyaga Kafedra mudiri 2012 y. BAKALAVR BITIRUV MALAKAVIY ISHI Mavzu: PHP tili va AJAX Texnologiyasi bo yicha

### Such JavaScript Very Wow

Such JavaScript Very Wow Lecture 9 CGS 3066 Fall 2016 October 20, 2016 JavaScript Numbers JavaScript numbers can be written with, or without decimals. Extra large or extra small numbers can be written

### By the end of this section of the practical, the students should be able to:

By the end of this section of the practical, the students should be able to: Write JavaScript to generate HTML Create simple scripts which include input and output statements, arithmetic, relational and

### BAKALAVR BITIRUV ISHI

O`ZBEKISTON RESPUBLIKASI AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI Himoyaga ruhsat Kafedra mudiri Y.MAbduraxmonova 2015y. BAKALAVR

### O ZBEKISTON RESPUBLIKASI ALOQA, AXBOROTLASHTIRISH VA TELEKOMMUNIKATSIYA TEXNOLOGIYALARI DAVLAT QO MITASI

O ZBEKISTON RESPUBLIKASI ALOQA, AXBOROTLASHTIRISH VA TELEKOMMUNIKATSIYA TEXNOLOGIYALARI DAVLAT QO MITASI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI Dasturiy injiniring fakulteti Aeroportda reyslarni

### O ZBEKISTON RESPUBLIKASI AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI

O ZBEKISTON RESPUBLIKASI AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI Informatika asoslari kafedrasi C/C++ tilida dasturlash fanidan

### MAXSUS EFFEKTLAR KOMPYUTER GRAFIKASI VA DIZAYN FANIDAN

O ZBEKISTON RESPUBLIKASI OLIY VA O RTA MAXSUS TA LIM VAZIRLGI NIZOMIY NOMIDAGI TOSHKENT DAVLAT PEDAGOGIKA UNUVERSITETI KASB TA LIMI FAKULTETI AXBOROT TEXNOLOGIYALARI KAFEDRASI MAXSUS EFFEKTLAR KOMPYUTER

### O ZBEKISTON RESPUBLIKASI AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI

O ZBEKISTON RESPUBLIKASI AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI URGANCH FILIALI KOMPYUTER INJINIRINGI FAKULTETI C++ DA DASTURLASH

### O zbekiston Respublikasi oliy va o rta maxsus ta`lim vazirligi. Buxoro oziq-ovqat va engil sanoat texnologiyasi instituti

O zbekiston Respublikasi oliy va o rta maxsus ta`lim vazirligi Buxoro oziq-ovqat va engil sanoat texnologiyasi instituti Informatika va axborot texnologiyalari kafedrasi Tuzuvchi: k.o q. Narziev U.Z. Vizual

### DJURAYEV SHERZOD SOBIRJONOVICH

O ZBEKISTON RESPUBLIKASI ALOQA, AXBOROTLASHTIRISH VA TELEKOMMUNIKATSIYA TEXNOLOGIYALARI DAVLAT QO MITASI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI FARG ONA FILIALI Qo l yozma huquqida UDK: 004.41 DJURAYEV

### AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI FARG ONA FILIALI

AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI FARG ONA FILIALI Kompyuter injiniring fakulteti Axborot texnologiyalari kafedrasi

### BITIRUV MALAKAVIY ISHI

O ZBEKISTON RESPUBLIKASI AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI QARSHI FILIALI KOMPYUTER INJINERINGI FAKULTETI AXBOROT TEXNOLOGIYALARI

### Mundarija. 1. Html tilida 3 xil turdagi onlayn test (MS Word dasturida) Paskal dasturlash tilida yaratilgan 3 ta test 11

O ZBEKISTON RESPUBLIKASI XALQ TA LIMI VAZIRLIGI XORAZM VILOYAT XTB TASARRUFIDAGI YANGIARIQ TUMANI 11-SONLI AFCHO IMINING O QUVCHILARINI INFORMATIKA FANIDAN YARATGAN O QUV - USLIBIY QO LLANMASI Yangiariq

### 1\$ 5 ! \$ 6 4 * Source: 0 "!*! 0! * 8 97 ?!\$ 5 0 *! 4! \$ 0 : * ' () 7;7 7<7

!#! # %! ' ()!* +, -.!/ *! * 1 !!

### Princeton University COS 333: Advanced Programming Techniques A Subset of JavaScript

Princeton University COS 333: Advanced Programming Techniques A Subset of JavaScript Program Structure function sqr(i) var result; // Otherwise result would be global. result = i * i; //

### Lecture 14. Introduction to JavaScript. Mr. Mubashir Ali Lecturer (Dept. of Computer Science)

Lecture 14 Introduction to JavaScript Mr. Mubashir Ali Lecturer (Dept. of dr.mubashirali1@gmail.com 1 Outline What is JavaScript? Embedding JavaScript with HTML JavaScript conventions Variables in JavaScript

### Princeton University COS 333: Advanced Programming Techniques A Subset of JavaScript

Princeton University COS 333: Advanced Programming Techniques A Subset of JavaScript Program Structure function sqr(i) var result; // Otherwise result would be global. result = i * i; //

### write vs. writeln Prompting as Page Loads Today s Goals CSCI 2910 Client/Server-Side Programming Intermediate File vs. HTML Output

CSCI 2910 Client/Server-Side Programming Topic: JavaScript Part 2 Today s Goals Today s lecture will cover: More objects, properties, and methods of the DOM The Math object Introduction to form validation

### O ZBEKISTON RESPUBLIKASI OLIY VA O RTA MAXSUS TA LIM VAZIRLIGI

O ZBEKISTON RESPUBLIKASI OLIY VA O RTA MAXSUS TA LIM VAZIRLIGI QARSHI DAVLAT UNIVERSITETI FIZIKA MATEMATIKA FAKULTETI AMALIY MATEMATIKA VA INFORMATIKA KAFEDRASI 5130200'' Amaliy matematika va informatika

### BAKALAVR BITIRUV ISHI

O ZBEKISTON RESPUBLIKASI AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI H i m o y a g a kafedra mudiri AbdurahmonovaY.M. 2015 y.

### 1. Operatsion tizim (OT) tushunchasi 2. Operatsion tizimlarning rivojlanish bosqichlari. 3. Windows operatsion tizimi 4. Mobil operatsion tizimlar

Reja: 1. Operatsion tizim (OT) tushunchasi 2. Operatsion tizimlarning rivojlanish bosqichlari. 3. Windows operatsion tizimi 4. Mobil operatsion tizimlar Operatsion tizimning vazifasi kompyuter ishini boshqarishdan

### O ZBЕKISTОN RЕSPUBLIKASI AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI

O ZBЕKISTОN RЕSPUBLIKASI AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI TОSHKЕNT AХBОRОT TЕХNОLОGIYALARI UNIVЕRSITЕTI URGANCH FILIALI Kompyuter injiniringi fakultеti Axborot texnologiyalari

### O ZBEKISTON RESPUBLIKASI AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI

O ZBEKISTON RESPUBLIKASI AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI URGANCH FILIALI KOMPYUTER INJINIRINGI FAKULTETI DASTURIY

### TOSHKENT AXBROT TEXNALOGIYALARI UNIVERSITETI QARSHI FILIALI KOPYUTER INJINERINGI FAKULTETI

O ZBEKISTON RESPUBLIKASI AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI TOSHKENT AXBROT TEXNALOGIYALARI UNIVERSITETI QARSHI FILIALI KOPYUTER INJINERINGI FAKULTETI 5330501 Kompyuter

### O`ZBEKISTОN RESPUBLIKASI ОLIY VA O`RTA MAXSUS TA`LIM VAZIRLIGI NAMANGAN MUHANDISLIK TEXNОLОGIYA INSTITUTI «KIMIYO-TEXNOLOGIYA» FAKULTETI

O`ZBEKISTОN RESPUBLIKASI ОLIY VA O`RTA MAXSUS TA`LIM VAZIRLIGI NAMANGAN MUHANDISLIK TEXNОLОGIYA INSTITUTI «KIMIYO-TEXNOLOGIYA» FAKULTETI «Оliy matematika»kafedrasi «Infоrmatika va AT» fanidan 7u-14 guruh

### МЕХАНИКА МАТЕМАТИКА ФАКУЛЬТЕТИ

ЎЗБЕКИСТОН РЕСПУБЛИКАСИ ОЛИЙ ВА ЎРТА МАХСУС ТАЪЛИМ ВАЗИРЛИГИ МИРЗО УЛУҒБЕК НОМИДАГИ ЎЗБЕКИСТОН МИЛЛИЙ УНИВЕРСИТЕТИ МЕХАНИКА-МАТЕМАТИКА ФАКУЛЬТЕТИ АМАЛИЙ МАТЕМАТИКА ВА ИНФОРМАТИКА ЙЎНАЛИШИ КУРС ИШИ МАВЗУ:

### Amaliy matematika va informatika ta lim yo nalishi bo yicha bakalavr darajasini olish uchun. Oromov Akmal Ahmad o g lining

O ZBEKISTON RESPUBLIKASI OILY VA O RTA MAXSUS TA LIM VAZIRLIGI QARSHI DAVLAT UNIVERSITETI FIZIKA-MATEMATIKA FAKULTETI AMALIY MATEMATIKA VA INFORMATIKA KAFEDRASI 5130200 Amaliy matematika va informatika

### O ZBEKISTON ALOQA, AXBOROTLASHTIRISH VA TELEKOMUNIKATSIYA TEXNOLOGIYALARI DAVLAT QO MITASI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI

O ZBEKISTON ALOQA, AXBOROTLASHTIRISH VA TELEKOMUNIKATSIYA TEXNOLOGIYALARI DAVLAT QO MITASI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI Dasturiy injinering fakulteti OYDT fanidan bajargan KURS ISHI HISOBOTI

### 710 Index Attributes, 127 action attribute, 263 assigning, bottom attribute, domain name attribute, 481 expiration date attribute, 480 8

INDEX Symbols = (assignment operator), 56 \ (backslash), 33 \b (backspace), 33 \" (double quotation mark), 32 \e (escape), 33 \f (form feed), 33

### O ZBEKISTON RESPUBLIKASI OLIY VA O RTA MAXSUS TA LIM VAZIRLIGI KASB-HUNAR SIRDARYO VILOYATI O RTA MAXSUS KASB- HUNAR TA LIMI BOSHQARMASI

O ZBEKISTON RESPUBLIKASI OLIY VA O RTA MAXSUS TA LIM VAZIRLIGI KASB-HUNAR SIRDARYO VILOYATI O RTA MAXSUS KASB- HUNAR TA LIMI BOSHQARMASI YANGIYER PEDAGOGIKA KOLLEJI KOMPYUTER VA KOMPYUTER TIZIMLARINI SOZLASH

### BITIRUV MALAKAVIY ISHI

O`ZBEKISTON RESPUBLIKASI ALOQA, AXBOROTLASHTIRISH VA TELEKOMMUNIKATSIYA TEXNOLOGIYALARI DAVLAT QO`MITASI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI SAMARQAND FILIALI TELEKOMMUNIKATSIYA TEXNOLOGIYALARI

### Events: another simple example

Internet t Software Technologies Dynamic HTML part two IMCNE A.A. 2008/09 Gabriele Cecchetti Events: another simple example Every element on a web page has certain events which can trigger JavaScript functions.

### JAVASCRIPT BASICS. Handling Events In JavaScript. In programing, event-driven programming could be a programming

Handling s In JavaScript In programing, event-driven programming could be a programming paradigm during which the flow of the program is set by events like user actions (mouse clicks, key presses), sensor

### MUNDARIJA. ANNOTATSIYA... 2 KIRISH... 4 I BOB. ANALITIK QISM... 7

MUNDARIJA. ANNOTATSIYA.... 2 KIRISH.... 4 I BOB. ANALITIK QISM... 7 1.1. Mobil texnologiyalarni dunyo hayotida tutgan o rni va ahamiyati.... 7 1.2. Ta lim uchun mo ljallangan Android OT da ishlovchi dasturiy

### Introduction to DHTML

Introduction to DHTML HTML is based on thinking of a web page like a printed page: a document that is rendered once and that is static once rendered. The idea behind Dynamic HTML (DHTML), however, is to

### O`ZBEKISTON ALOQA VA AXBOROTLASHTIRISH AGENTLIGI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI FARG`ONA FILIALI. Axborot texnologiyalari fakul`teti

O`ZBEKISTON ALOQA VA AXBOROTLASHTIRISH AGENTLIGI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI FARG`ONA FILIALI Axborot texnologiyalari fakul`teti Axborot texnologiyalari kafedrasi E kommertsiya fanidan

### Coding in JavaScript functions

Coding in JavaScript functions A function contains code that will be executed by an event or by a call to the function. You may call a function from anywhere within a page (or even from other pages if

### upakovkalari dizayni (Artel, Uztelecom, Roison) mahsulotlarini yaratish.

O ZBEKISTON RESPUBLIKASI ALOQA AXBOROTLASHTIRISH VA TELEKOMMUNIKATSIYA TEXNOLOGIYALARI DAVLAT QO MITASI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI "Himoyaga ruxsat" "KG va D"kafedra mudiri F.M.Nuraliyev

### CSS The web browser uses its own resources, and eases the burden on the server. It has fewer features than server side scripting.

What is JavaScript? HTML and CSS concentrate on a static rendering of a page; things do not change on the page over time, or because of events. To do these things, we use scripting languages, which allow

### JavaScript Introduction

JavaScript Introduction Web Technologies I. Zsolt Tóth University of Miskolc 2016 Zsolt Tóth (UM) JavaScript Introduction 2016 1 / 31 Introduction Table of Contents 1 Introduction 2 Syntax Variables Control

### O ZBЕKISTON RЕSPUBLIKASI ALOQA, AXBOROTLASHTIRISH VA TЕLЕKOMMUNIKATSIYA TЕXNOLOGIYALARI DAVLAT QO MITASI TOSHKЕNT AXBOROT TЕXNOLOGIYALARI UNIVЕRSITЕTI

O ZBЕKISTON RЕSPUBLIKASI ALOQA, AXBOROTLASHTIRISH VA TЕLЕKOMMUNIKATSIYA TЕXNOLOGIYALARI DAVLAT QO MITASI TOSHKЕNT AXBOROT TЕXNOLOGIYALARI UNIVЕRSITЕTI «Himoyaga ruxsat» KG va D kafedra mudiri F.M.Nuraliev

### New Perspectives on Creating Web Pages with HTML. Tutorial Objectives

New Perspectives on Creating Web Pages with HTML Tutorial 9: Working with JavaScript Objects and Events 1 Tutorial Objectives Learn about form validation Study the object-based nature of the JavaScript

### Key features. Nothing to do with java It is the Client-side scripting language Designed to add interactivity to HTML pages

Javascript Key features Nothing to do with java It is the Client-side scripting language Designed to add interactivity to HTML pages (DHTML): Event-driven programming model AJAX Great example: Google Maps

### O ZBEKISTON RESPUBLIKASI OLIY VA O RTA TA LIM VAZIRLIGI QARSHI MUHANDISLIK IQTISODIYOT INSTITUTI. AVTOMATIKA VA AXBOROT TEXNOLOGIYALARI kafedrasi

O ZBEKISTON RESPUBLIKASI OLIY VA O RTA TA LIM VAZIRLIGI MAXSUS QARSHI MUHANDISLIK IQTISODIYOT INSTITUTI AVTOMATIKA VA AXBOROT TEXNOLOGIYALARI kafedrasi LOYIHALASH JARAYONLARINI AVTOMATLASHTIRISH ASOSLARI

### Fundamentals of Website Development

Fundamentals of Website Development CSC 2320, Fall 2015 The Department of Computer Science Events handler Element with attribute onclick. Onclick with call function Function defined in your script or library.

### O ZBEKISTON RESPUBLIKASI ALOQA, AXBOROTLASHTIRISH VA TELEKOMMUNIKATSIYA TEXNOLOGIYALARI DAVLAT QO MITASI

O ZBEKISTON RESPUBLIKASI ALOQA, AXBOROTLASHTIRISH VA TELEKOMMUNIKATSIYA TEXNOLOGIYALARI DAVLAT QO MITASI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI Dasturiy injiniring fakulteti KURS ISHI Mavzu: Supermarket

### YM. TIZIMLI DASTURIY TA'MINOT. M.M.Aliyev,E.T.Toxirov. Uslubiy qo'uanma. Toshl en ~---

YM. M.M.Aliyev,E.T.Toxirov TIZIMLI DASTURIY TA'MINOT Uslubiy qo'uanma Toshl en 2012 - -- ~--- «O'zbekiston temir yo'llari» DATK Toshkent temir yo'l muhandislari instituti M.M.Aliyev, E.T.Toxirov TIZIMLI

### What Is JavaScript? A scripting language based on an object-orientated programming philosophy.

What Is JavaScript? A scripting language based on an object-orientated programming philosophy. Each object has certain attributes. Some are like adjectives: properties. For example, an object might have

### Pearson Education Limited Edinburgh Gate Harlow Essex CM20 2JE England and Associated Companies throughout the world

Pearson Education Limited Edinburgh Gate Harlow Essex CM20 2JE England and Associated Companies throughout the world Visit us on the World Wide Web at: www.pearsoned.co.uk Pearson Education Limited 2014

### O ZBEKISTON RESPUBLIKASI OLIY VA O RTA TA LIM VAZIRLIGI. TOSHKENT TO QIMACHILIK VA YENGIL SANOAT INSTITUTI. INFORMATIKA VA AT kafedrasi KURS ISHI

O ZBEKISTON RESPUBLIKASI OLIY VA O RTA TA LIM VAZIRLIGI. TOSHKENT TO QIMACHILIK VA YENGIL SANOAT INSTITUTI INFORMATIKA VA AT kafedrasi KURS ISHI Mavzu:Html tili va unda web sahifalar yaratish Bajardi:

### O ZBEKISTON RESPUBLIKASI ALOQA, AXBOROTLASHTIRISH VA TELEKOMMUNIKATSIYA TEXNOLOGIYALARI DAVLAT QO MITASI

O ZBEKISTON RESPUBLIKASI ALOQA, AXBOROTLASHTIRISH VA TELEKOMMUNIKATSIYA TEXNOLOGIYALARI DAVLAT QO MITASI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI SAMARQAND FILIALI Qo l yozma huquqida UDK KARIMOV

### The first sample. What is JavaScript?

Java Script Introduction JavaScript is the most popular scripting language on the internet, and works in all major browsers, such as Internet Explorer, Firefox, Chrome, Opera, and Safari. In this lecture

### O ZBEKISTONRESPUBLIKASIALOQAAXBOROTLASHTIRISHVATEL EKOMMUNIKATSIYATEXNOLOGIYALARIDAVLATQO MITASITOSH KENTAXBOROTTEXNOLOGIYALARIUNIVERSITETI

O ZBEKISTONRESPUBLIKASIALOQAAXBOROTLASHTIRISHVATEL EKOMMUNIKATSIYATEXNOLOGIYALARIDAVLATQO MITASITOSH KENTAXBOROTTEXNOLOGIYALARIUNIVERSITETI Dasturiy Injinering Fakulteti ATDT kafedrasi KURS ISHI Mavzu:Temir

### Place User-Defined Functions in the HEAD Section

JavaScript Functions Notes (Modified from: w3schools.com) A function is a block of code that will be executed when "someone" calls it. In JavaScript, we can define our own functions, called user-defined

### Note: Java and JavaScript are two completely different languages in both concept and design!

Java Script: JavaScript was designed to add interactivity to HTML pages JavaScript is a scripting language A scripting language is a lightweight programming language JavaScript is usually embedded directly

### REJA KIRISH ASOSIY QISM I BOB Android operatsion tizimi 1.1 Android OT tarixi 1.2 Android OTning hayotimizda tutgan o rni 1.

1 REJA KIRISH ASOSIY QISM I BOB Android operatsion tizimi 1.1 Android OT tarixi 1.2 Android OTning hayotimizda tutgan o rni 1.3 Android OT uchun dasturiy ta minotlarni ishlab chiqish imkonini beruvchi

### Full file at https://fratstock.eu Tutorial 2: Working with Operators and Expressions

Tutorial 2: Working with Operators and Expressions TRUE/FALSE 1. You can add a dynamic effect to a Web site using ontime processing. ANS: F PTS: 1 REF: JVS 54 2. You can not insert values into a Web form

### Beijing , China. Keywords: Web system, XSS vulnerability, Filtering mechanisms, Vulnerability scanning.

2017 International Conference on Computer, Electronics and Communication Engineering (CECE 2017) ISBN: 978-1-60595-476-9 XSS Vulnerability Scanning Algorithm Based on Anti-filtering Rules Bo-wen LIU 1,

### O`ZBEKISTON RESPUBLIKASI OLIY VA O`RTA MAXSUS TA'LIM VAZIRLIGI O`RTA MAXSUS, KASB-HUNAR TA'LIMI MARKAZI

O`ZBEKISTON RESPUBLIKASI OLIY VA O`RTA MAXSUS TA'LIM VAZIRLIGI O`RTA MAXSUS, KASB-HUNAR TA'LIMI MARKAZI Sh.A.Nazirov, N.A. Aripova, R.V. Qobulov, А.Beletskiy HISOBLASH VA RAQAMLI TEXNIKA ASOSLARI Axborot-kommunikatsiya

### HTML User Interface Controls. Interactive HTML user interfaces. Document Object Model (DOM)

Page 1 HTML User Interface Controls CSE 190 M (Web Programming), Spring 2007 University of Washington Reading: Sebesta Ch. 5 sections 5.1-5.7.2, Ch. 2 sections 2.9-2.9.4 Interactive HTML user interfaces

### ALGORITM ASOSLARI VA ALGORITMIK TILLAR

O O`ZBЕKISTON RЕSPUBLIKASI OLIY VA O`RTA MAХSUS TA`LIM VAZIRLIGI TOSHKЕNT DAVLAT IQTISODIYOT UNIVЕRSITЕTI ALIMOV R.X., XAYITMATOV O`.T., FAYZULLAEV S.X., MAJIDOV R.R., SATTAROVA M., AKRAMOV A.A. ALGORITM

### JavaScript and XHTML. Prof. D. Krupesha, PESIT, Bangalore

JavaScript and XHTML Prof. D. Krupesha, PESIT, Bangalore Why is JavaScript Important? It is simple and lots of scripts available in public domain and easy to use. It is used for client-side scripting.

### Multiple Choice Questions, COPA, Semester-2. Dr.V.Nagaradjane

Multiple Choice Questions, COPA, Semester-2 DrVNagaradjane December 25, 2017 ii Author: DrVNagaradjane Contents 1 Javascript 1 11 Algorithms 1 12 Flowcharts 1 13 Web servers 2 14 Features of web servers

### Introduction to JavaScript

127 Lesson 14 Introduction to JavaScript Aim Objectives : To provide an introduction about JavaScript : To give an idea about, What is JavaScript? How to create a simple JavaScript? More about Java Script

### INFORMATIKA VA AXBOROT TEXNOLOGIYALARI yo nalishi

O ZBEKISTON RESPUBLIKASI OLIY VA O RTA MAXSUS TA LIM VAZIRLIGI OLIY TA LIM TIZIMI PEDAGOG VA RAHBAR KADRLARINI QAYTA TAYYORLASH VA ULARNING MALAKASINI OSHIRISHNI TASHKIL ETISH BOSH ILMIY - METODIK MARKAZI

### O'rnatish menyusiga kirish

O'RNATISH MENYUSIGA KIRISH 1 O'rnatish menyusiga kirish 1 SETTINGS (PARAMETRLAR) tugmasini 5 soniyacha bosib turing. 2 Toast (Yuqori o'ng burchak (Standart qiymat 0, 0, 0, 0 ) ) namoyish qilinganda parolingizni

### Phụ lục A. Sơ đồ các đối tượng trong trình duyệt

1 Phụ lục A Sơ đồ các đối tượng trong trình duyệt 2 Phụ lục A window closed alert( msg ) onblur= defaultstatus back( ) ondragdrop= document blur( ) onfocus= frames[i] captureevents(type) onload= history

### JavaScript Handling Events Page 1

JavaScript Handling Events Page 1 1 2 3 4 5 6 7 8 Handling Events JavaScript JavaScript Events (Page 1) An HTML event is something interesting that happens to an HTML element Can include: Web document

### PES DEGREE COLLEGE BANGALORE SOUTH CAMPUS 1 K.M. before Electronic City, Bangalore WEB PROGRAMMING Solution Set II

PES DEGREE COLLEGE BANGALORE SOUTH CAMPUS 1 K.M. before Electronic City, Bangalore 560 100 WEB PROGRAMMING Solution Set II Section A 1. This function evaluates a string as javascript statement or expression

### Introduction to JavaScript, Part 2

Introduction to JavaScript, Part 2 Luka Abrus Technology Specialist, Microsoft Croatia Interaction In the first part of this guide, you learned how to use JavaScript, how to write code and how to see if

### New Media Production Lecture 7 Javascript

New Media Production Lecture 7 Javascript Javascript Javascript and Java have almost nothing in common. Netscape developed a scripting language called LiveScript. When Sun developed Java, and wanted Netscape

### 3Lesson 3: Functions, Methods and Events in JavaScript Objectives

3Lesson 3: Functions, Methods and Events in JavaScript Objectives By the end of this lesson, you will be able to: 1.3.1: Use methods as. 1.3.2: Define. 1.3.3: Use data type conversion methods. 1.3.4: Call.

### CSC Javascript

CSC 4800 Javascript See book! Javascript Syntax How to embed javascript between from an external file In an event handler URL - bookmarklet

### link document.getelementbyid("coffee").style.borderwidth = "0px" document.getelementbyid("tea").style.borderwidth = "10px"

function coffeeinfo() document.getelementbyid('p3').innerhtml = "the word 'coffee' was at one time a term for wine, but was. " document.getelementbyid('p3').style.color

### INTRODUCTION TO WEB DEVELOPMENT AND HTML. Lecture 15: JavaScript loops, Objects, Events - Spring 2011

INTRODUCTION TO WEB DEVELOPMENT AND HTML Lecture 15: JavaScript loops, Objects, Events - Spring 2011 Outline Selection Statements (if, if-else, switch) Loops (for, while, do..while) Built-in Objects: Strings

### DOM Primer Part 2. Contents

DOM Primer Part 2 Contents 1. Event Programming 1.1 Event handlers 1.2 Event types 1.3 Structure modification 2. Forms 2.1 Introduction 2.2 Scripting interface to input elements 2.2.1 Form elements 2.2.2

### Name Related Elements Type Default Depr. DTD Comment

Legend: Deprecated, Loose DTD, Frameset DTD Name Related Elements Type Default Depr. DTD Comment abbr TD, TH %Text; accept-charset FORM %Charsets; accept FORM, INPUT %ContentTypes; abbreviation for header

### Client vs Server Scripting

Client vs Server Scripting PHP is a server side scripting method. Why might server side scripting not be a good idea? What is a solution? We could try having the user download scripts that run on their

### By the end of this section of the practical, the students should be able to:

By the end of this section of the practical, the students should be able to: Learn about the Document Object Model and the Document Object Model hierarchy Create and use the properties, methods and event

### KURS ISHI. MFO'M fanidan. Mavzu: Internet tamoyillari fanini pedagogik va axborot texnologiyalari yordamida o`qitish metodikasi.

O'ZBEKISTON RESPUBLIKASI ALOQA, AXBOROTLASHTIRISH VA TELEKOMMUNIKATSIYA TEXNOLOGIYALARI DAVLAT QO'MITASI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI MFO'M fanidan KURS ISHI Mavzu: Internet tamoyillari

### O ZBEKISTON RESPUBLIKASI ALOQA, AXBOROTLASHTIRISH VA TELEKOMMUNIKATSIYA TEXNOLOGIYALARI DAVLAT QO`MITASI

O ZBEKISTON RESPUBLIKASI ALOQA, AXBOROTLASHTIRISH VA TELEKOMMUNIKATSIYA TEXNOLOGIYALARI DAVLAT QO`MITASI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI SAMARQAND FILIALI Qo l yozma huquqida UDK 004.4 272

### JavaScript: The Basics

JavaScript: The Basics CISC 282 October 4, 2017 JavaScript A programming language "Lightweight" and versatile Not universally respected Appreciated in the web domain Adds programmatic functionality to

### Module 4: Characters, Strings, and Mathematical Functions

Module 4: Characters, Strings, and Mathematical Functions Objectives To solve mathematics problems by using the methods in the Math class ( 4.2). To represent characters using the char type ( 4.3). To

### JavaScript Programming Chris Seddon

JavaScript Programming Chris Seddon seddon-software@keme.co.uk 2000-12 CRS Enterprises Ltd 1 2000-12 CRS Enterprises Ltd 2 JavaScript Resources General: http://www.w3.org http://www.devguru.com/technologies/ecmascript/quickref/javascript_ind