Javascript.RU

Learning JavaScript

Язык: Английский
Год публикации: 2006
Автор(ы): Shelley Powers
Страниц: 304

Краткое содержание
  • Introduction and First Looks
  • JavaScript Data Types and Variables
  • Operators and Statements
  • The JavaScript Objects
  • Functions
  • Catching Events
  • Forms and JiT Validation
  • The Sandbox and Beyond: Cookies, Connectivity, and Piracy
  • The Basic Browser Objects
  • DOM: The Document Object Model
  • Creating Custom JavaScript Objects
  • Building Dynamic Web Pages: Adding Style to Your Script
  • Moving Outside the Page with Ajax
  • Good News: Juicy Libraries! Amazing Web Services! Fun APIs!
  • Appendix 1. Answers
Средняя: 4 (113 votes)

Полное содержание
  • Introduction and First Looks
    • Twisted History: Specs and Implementations
    • Cross-Browser Incompatibility and Other Common JavaScript Myths
    • What You Can Do with JavaScript
    • First Look at JavaScript: "Hello World!"
    • The JavaScript Sandbox
    • Accessibility and JavaScript Best Practices
  • JavaScript Data Types and Variables
    • Identifying Variables
    • Scope
    • Simple Types
    • Constants: Named but Not Variables
    • Questions
  • Operators and Statements
    • Format of a JavaScript Statement
    • Simple Statements
    • Conditional Statements and Program Flow
    • The Conditional Operators
    • The Logical Operators
    • Advanced Statements: The Loops
    • Questions
  • The JavaScript Objects
    • The Object Constructor
    • The Number Object
    • The String Object
    • Regular Expressions and RegExp
    • Purposeful Objects: Date and Math
    • JavaScript Arrays
    • Associative Arrays: The Arrays That Aren't
    • Questions
  • Functions
    • Defining a Function: Let Me Count the Ways
    • Callback Functions
    • Functions and Recursion
    • Nested Functions, Function Closure, and Memory Leaks
    • Function As Object
    • Questions
  • Catching Events
    • The Event Handler at DOM Level 0
    • Questions
  • Forms and JiT Validation
    • Accessing the Form
    • Attaching Events to Forms: Different Approaches
    • Selection
    • Radio Buttons and Checkboxes
    • Input Fields and JiT Regular Expressions
    • Questions
  • The Sandbox and Beyond: Cookies, Connectivity, and Piracy
    • The Sandbox
    • All About Cookies
    • Alternative Storage Techniques
    • Cross-Site Scripting (XSS)
    • Questions
  • The Basic Browser Objects
    • BOM at a Glance
    • The window Object
    • Frames and Location
    • history, screen, and navigator
    • The all Collection, Inner/Outer HTML and Text, and Old and New Documents
    • Something Old, Something New
    • Questions
  • DOM: The Document Object Model
    • A Tale of Two Interfaces
    • The DOM and Compliant Browsers
    • The DOM HTML API
    • Understanding the DOM: The Core API
    • The DOM Core Document Object
    • Element and Access in Context
    • Modifying the Tree
    • Questions
  • Creating Custom JavaScript Objects
    • The JavaScript Object and Prototyping
    • Creating Your Own Custom JavaScript Objects
    • Object Detection, Encapsulation, and Cross-Browser Objects
    • Chaining Constructors and JS Inheritance
    • One-Off Objects
    • Advanced Error-Handling Techniques (try, throw, catch)
    • What's New in JavaScript
    • Questions
  • Building Dynamic Web Pages: Adding Style to Your Script
    • DHTML: JavaScript, CSS, and DOM
    • Fonts and Text
    • Position and Movement
    • Size and Clipping
    • Display, Visibility, and Opacity
    • Questions
  • Moving Outside the Page with Ajax
    • Ajax: It's Not Only Code
    • How Ajax Works
    • Hello Ajax World!
    • The Ajax Object: XMLHttpRequest and IE's ActiveX Objects
    • Working with XMLor Not
    • Google Maps
    • Questions
  • Good News: Juicy Libraries! Amazing Web Services! Fun APIs!
    • Before Jumping In, A Word of Caution
    • Working with Prototype
    • Script.aculo.us: More Than the Sum of Its Periods
    • Sabre's Rico
    • Dojo
    • The Yahoo! UI
    • MochiKit
    • Questions
  • Appendix 1. Answers

Автор: Илья Кантор, дата: 4 мая, 2009 - 09:23
#permalink

Есть.


Автор: Гость (не зарегистрирован), дата: 15 февраля, 2013 - 03:41
#permalink

A.10. Chapter 11
Use the Numberâ??s prototype property:

Number.prototype.triple = function (â??â??) {
var nm = this.valueOf(â??â??) * 3;
return nm;
}
var num = new Number(3.0);
alert(num.triple(â??â??));

Что за абракадабра???


Автор: candycandy (не зарегистрирован), дата: 19 сентября, 2022 - 16:54
#permalink

It's very useful for me and you can play basketball stars
and compete to find the winner


Отправить комментарий

Приветствуются комментарии:
  • Полезные.
  • Дополняющие прочитанное.
  • Вопросы по прочитанному. Именно по прочитанному, чтобы ответ на него помог другим разобраться в предмете статьи. Другие вопросы могут быть удалены.
    Для остальных вопросов и обсуждений есть форум.
P.S. Лучшее "спасибо" - не комментарий, как все здорово, а рекомендация или ссылка на статью.
Содержание этого поля является приватным и не предназначено к показу.
  • Адреса страниц и электронной почты автоматически преобразуются в ссылки.
  • Разрешены HTML-таги: <strike> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <u> <i> <b> <pre> <img> <abbr> <blockquote> <h1> <h2> <h3> <h4> <h5> <p> <div> <span> <sub> <sup>
  • Строки и параграфы переносятся автоматически.
  • Текстовые смайлы будут заменены на графические.

Подробнее о форматировании

CAPTCHA
Антиспам
4 + 0 =
Введите результат. Например, для 1+3, введите 4.
 
Поиск по сайту
Содержание

Учебник javascript

Основные элементы языка

Сундучок с инструментами

Интерфейсы

Все об AJAX

Оптимизация

Разное

Дерево всех статей

Последние комментарии
Последние темы на форуме
Forum