JavaScript Variable
- You create a variable with or without the var statement
var strname = some value strname = some value
- When you declare a variable within a function, the variable can only be accessed within that function
- If you declare a variable outside a function, all the functions on your page can access it
- The lifetime of these variables starts when they are declared, and ends when the page is closed
JavaScript Popup Boxes
- Alert box
> alert("sometext")
- Confirm Box
> confirm("sometext")
- Confirm Box
JavaScript Language
- Conditional statement
- Loop
TRY...CATCH :D
0 Responses So Far: