Posts Tagged ‘examples’

Course: script.aculo.us library in a nutshell — part 1

The script.aculo.us library Delving into the JavaScript frameworks, we would like to present the essence of script.aculo.us library. As we mentioned in JS Frameworks introduction, Prototype JS and script.aculo.us libraries are often seen together. The library, which now referred to, is like an extension of Prototype JS of visual effects, animation, Drag and Drop, creating […]

Prototype JS in a nutshell. Part 2.

Welcome to the second part of the Prototype JS course. Today we will focus on the elements of the document and performing operations on them. Prototype JS — further steps In this part of the course we will work with the DOM, but using Prototype JS approach. So let’s move ahead to discuss further elements […]

Prototype JS Framework in a nutshell. Part 1.

Here is the first part of the short courses, describing JavaScript frameworks. The first of these will be Prototype JS. Prototype JS Framework — from scratch A little bit of preliminary information appears in the article JavaScript Frameworks — foreword. The purpose of this article is not to replace the documentation, but the description of […]

JSON format and JavaScript

Welcome to the new article. We touch various topics, and now we feel obliged to write about JSON (JavaScript Object Notation). It is a lightweight computer data interchange format. JSON is a text format, and you can treat it as a subset of JavaScript. JSON format in JavaScript The MIME type for JSON format is […]

Best solutions in JavaScript — part 2

Update 09-2014 : note — this article has been originally created several years ago, so maybe a little different from today’s standards of good and recommended solutions. Welcome to the next part about practical examples and solutions in JavaScript. We’ll focus mainly on issues of validation (validator elements implementation). It’s just continuation of the previous […]

Best solutions in JavaScript — part 1

Update 09-2014 : note — this article has been originally created several years ago, so maybe a little different from today’s standards of good and recommended solutions. Today we recommend the first part of best practices and solutions in JavaScript. It is purely practical. We present tips and simple tricks. Best solutions in JavaScript An […]

JavaScript file

Forms in JavaScript

So far, we have described a number of different topics, and now it’s time for an article about forms in JavaScript. Forms, especially in combination with CSS and JavaScript, are providing a strong foundation for development of UI elements to interact with the user. Forms in JavaScript Handling forms in JavaScript from scratch. The form […]

Regular expressions in JavaScript

Today we will discuss one of the slightly more difficult topics, namely regular expressions. Of course, really difficult are the most powerful and advanced expressions. However, possibilities offered by this tool are really huge. Regular expressions in JavaScript Regular Expressions are a way to save a pattern, which can be compared with strings, to check […]

Date and time in JavaScript

The time flies, and we will write about date and time in JavaScript. Today less theory, more practical examples. Date and time in JavaScript. The Date object. To handle dates in JavaScript there is an object called Date. Basic example: The Date object — methods Methods of the Date object: Tip: use instanceof With this […]

Interesting issues and good practices in JavaScript

Welcome to the first, but certainly not the last topic of this type, which touches interesting features of JavaScript, tricks and less common structures, like the with instruction. Interesting issues and good practices in JavaScript For a good start: Tip #1 — the ‘with’ instruction The with instruction, being a part of JavaScript language, allow […]