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 […]
Archive for the ‘Tutorials’ Category
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 […]
Cookies in JavaScript
In this article we will talk about working with cookies in JavaScript. And no, it’s not about eating. Working with cookies in JavaScript Cookies — small information sent by a web server and stored on the user side (typically on the hard disk). Cookies are most commonly used for counters, probes, online stores, sites that […]
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 […]
Mastering bitwise operators in JavaScript. Like a boss!
Bitwise operators in JavaScript Today we will try to present bitwise operators in JavaScript language, in an accessible form. The overall concept of the bitwise operators’ work in JavaScript is as follows: — arguments are converted to 32-bit integer and expressed by a sequence of bits, — each bit in the first argument is matched […]