I About the Tutorial



Yüklə 0,99 Mb.
Pdf görüntüsü
səhifə3/8
tarix07.11.2018
ölçüsü0,99 Mb.
#78681
1   2   3   4   5   6   7   8

iv 

 

 

16.

 

JAVASCRIPT – Page Redirect ................................................................................................................... 89

 

What is Page Redirection? ............................................................................................................................. 89



 

JavaScript Page Refresh ................................................................................................................................. 89

 

Auto Refresh .................................................................................................................................................. 89



 

How Page Re-direction Works? ..................................................................................................................... 90

 

17.

 

JAVASCRIPT – Dialog Box ........................................................................................................................ 94

 

Alert Dialog Box ............................................................................................................................................. 94



 

Confirmation Dialog Box ................................................................................................................................ 95

 

Prompt Dialog Box ......................................................................................................................................... 96



 

18.

 

JAVASCRIPT – Void Keyword ................................................................................................................... 98

 

19.

 

JAVASCRIPT – Page Printing .................................................................................................................. 101

 

How to Print a Page? ................................................................................................................................... 102



 

PART 2: JAVASCRIPT OBJECTS ................................................................................................. 103

 

20.

 

JAVASCRIPT – Objects ........................................................................................................................... 105

 

Object Properties......................................................................................................................................... 105



 

Object Methods ........................................................................................................................................... 105

 

User-Defined Objects .................................................................................................................................. 106



 

Defining Methods for an Object .................................................................................................................. 108

 

The ‘with’ Keyword ...................................................................................................................................... 109



 

21.

 

JAVASCRIPT – Number .......................................................................................................................... 112

 

Number Properties ...................................................................................................................................... 112



 

MAX_VALUE ................................................................................................................................................ 113

 

MIN_VALUE ................................................................................................................................................. 114



 

NaN .............................................................................................................................................................. 115

 

NEGATIVE_INFINITY ..................................................................................................................................... 117



 

POSITIVE_INFINITY ...................................................................................................................................... 118

 

Prototype ..................................................................................................................................................... 119



 

constructor .................................................................................................................................................. 121

 

Number Methods ........................................................................................................................................ 121



 

toExponential () ........................................................................................................................................... 122

 

toFixed () ...................................................................................................................................................... 124



 

toLocaleString () .......................................................................................................................................... 125

 

toPrecision () ............................................................................................................................................... 126



 

toString () ..................................................................................................................................................... 127

 

valueOf () ..................................................................................................................................................... 128



 

22.

 

JAVASCRIPT – Boolean .......................................................................................................................... 130

 

Boolean Properties ...................................................................................................................................... 130



 

constructor () ............................................................................................................................................... 130

 

Prototype ..................................................................................................................................................... 131



 

Boolean Methods ........................................................................................................................................ 132

 

toSource () ................................................................................................................................................... 133



 

toString () ..................................................................................................................................................... 134

 

valueOf () ..................................................................................................................................................... 135



 


Yüklə 0,99 Mb.

Dostları ilə paylaş:
1   2   3   4   5   6   7   8




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©www.genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə