Generate a string of random characters

Here's a quick function for all those occasions when you need to generate a string of random characters in javascript.

Convert seconds to hours, minutes and seconds (JavaScript)

This is JavaScript implementation of the PHP function previously described in Convert seconds to hours, minutes and seconds (PHP). Please see the link for more detailed explanation of the function.

Convert size in bytes to human readable format (JavaScript)

This is JavaScript implementation of the function described in my earlier article Convert size in bytes to a human readable format (PHP). Please see the link for more in-depth explanation of the function workflow.

Functions for working with cookies in JavaScript

This article contains three main functions to work with document cookies in JavaScript. The functions that you will find here are: cookieGet, cookieSet and cookieDelete. As their names suggest, they will allow you to set, get and delete current document's cookie respectively.

Showing 1 - 4 of 4 results