| |
KB Article |
|
|
Mike Prestwood
|
1. A 10 Minute JavaScript Quick Start
Short 10 minute getting started JavaScript primer.
10 years ago, and updated 54 months ago
|
 Article
 4924 Hits
|
 JavaScript and AJAX
|
Mike Prestwood
|
2. Close Browser with JavaScript
How do you close a browser in a link?
(1 Comments
, last by Anonymous )
|
 FAQ
 3598 Hits
|
 JavaScript and AJAX
|
Mike Prestwood
|
3. Hide JavaScript Code
How do I protect my javascript code?
|
 FAQ
 2515 Hits
|
 JavaScript and AJAX
|
Mike Prestwood
|
4. JavaScript Assignment (=)
JavaScript uses = for it's assignment operator.
55 months ago, and updated 54 months ago
|
 Code
 2378 Hits
|
 JavaScript and AJAX
|
Mike Prestwood
|
5. JavaScript Comments (// or /* ... */)
Commenting Code JavaScript uses "//" for a single line comment and /* */ for a multiple line comment.
54 months ago, and updated 52 months ago
|
 Code
 2284 Hits
|
 JavaScript and AJAX
|
Mike Prestwood
|
6. JavaScript Comparison Operators (==, !=)
Common comparison operators:
| == |
equal |
| != |
not equal |
| < |
less than |
| > |
greater than |
| <= |
less than or equal |
| >= |
greater than or equal |
|
 Code
 3190 Hits
|
 JavaScript and AJAX
|
Mike Prestwood
|
7. JavaScript Defined
What is JavaScript?
|
 FAQ
 2620 Hits
|
 JavaScript and AJAX
|
Mike Prestwood
|
8. JavaScript Development Tools
Languages Focus: Development ToolsPrimary development tool(s) used to develop and debug code.
54 months ago, and updated 52 months ago
|
 Code
 2585 Hits
|
 JavaScript and AJAX
|
Mike Prestwood
|
9. JavaScript End of Statement (; is optional)
In JavaScript, using a semicolon at the end of statements is optional. You might think a semicolon then is just another comment specifier but it is not. The semicolon is an optional end of statement specifier. To put two statements on a single code line, you must use a semicolon. However, the semicolon is optional, but probably confusing, when you break a single statement into multiple code lines.
53 months ago, and updated 52 months ago
(1 Comments
, last by Anonymous )
|
 Code
 3117 Hits
|
 JavaScript and AJAX
|
Mike Prestwood
|
10. JavaScript Event Model
Description of the JavaScript event handlers.
10 years ago, and updated 5 years ago
|
 Article
 4513 Hits
|
 JavaScript and AJAX
|
Mike Prestwood
|
11. JavaScript FAQ
JavaScript frequently asked questions.
10 years ago, and updated 5 years ago
|
 KB Post
 2293 Hits
|
 JavaScript and AJAX
|
Mike Prestwood
|
12. JavaScript If Statement (if..else if..else)
Same as C/C++ but, as usual, the semicolons are optional.
|
 Code
 2494 Hits
|
 JavaScript and AJAX
|
Mike Prestwood
|
13. JavaScript Literals (quote or apostrophe)
Literals use either an apostrophe (also known as a single quote) as in 'Prestwood' or quoted as in "Prestwood". If you need to embed an apostrophe in an apostrophe-literal or a quote in a quoted-literal, preced it with a slash as in \' and \".
54 months ago, and updated 52 months ago
|
 Code
 3822 Hits
|
 JavaScript and AJAX
|
Mike Prestwood
|
14. JavaScript Logical Operators
JavaScript logical operators:
| and, && |
and, as in this and that |
| or, || |
or, as in this or that |
| !, Not |
Not, as in Not This |
|
 Code
 3207 Hits
|
 JavaScript and AJAX
|
Mike Prestwood
|
15. JavaScript Overview and History
Language Overview: Class-like language with limited but usable class-like and object-like functionality but no formal inheritance nor visibility control, etc.
Target Platforms: JavaScript is most commonly used to extend HTML by executing code on the browser side when visiting a website. It does have other uses including server side scripting and AJAX.
53 months ago, and updated 52 months ago
|
 Code
 2529 Hits
|
 JavaScript and AJAX
|
Mike Prestwood
|
16. JavaScript Report Tools Overview
No built-in report writer but because JavaScript most frequently targets website development (a document interfaced GUI), a common solution is to simply output an HTML formatted page with black text and a white background (not much control but it does work for some situations).
|
 Code
 6316 Hits
|
 JavaScript and AJAX
|
Mike Prestwood
|
17. JavaScript String Concatenation (+)
To concatenate two strings, a string to an integer, or a string to a floating point number, use the + operator. JavaScript performs implicit casting when concatenating a string and a number. For example, to convert a floating point number to a string just concatenate an empty string to the number as in "" + 3.2.
54 months ago, and updated 52 months ago
|
 Code
 2746 Hits
|
 JavaScript and AJAX
|
Mike Prestwood
|
18. JavaScript Unary Operators
An operation with only one operand (a single input). JavaScript unary operators include ++ and --. They can be used either before or after a variable as in: a++, b--, and ++a, and --b.
54 months ago, and updated 52 months ago
|
 Code
 2797 Hits
|
 JavaScript and AJAX
|
Mike Prestwood
|
19. JavaScript Variables (var x = 0;)
JavaScript is a loosely typed language. Each variable is cast in usage as string, number, boolean, function, or object.
Variable names are case sensitive.
Alternatively, you can specify the value when you declare a variable: var FirstName = "Mike"; var LastName = "Prestwood"; var Age = 42;
54 months ago, and updated 52 months ago
|
 Code
 2430 Hits
|
 JavaScript and AJAX
|
Mike Prestwood
|
20. Validating Form Fields
Adding JavaScript to your HTML forms to validate form fields.
5 years ago, and updated 58 months ago
|
 Article
 3727 Hits
|
 JavaScript and AJAX
|