Recipes

use strict in JavaScript


Get timestamp in seconds


How to get query parameters of a URL


Get parent path of URL


Check if a string contains another substring


Check if element is hidden

check if an HTML element is hidden using jQuery

Tick checkbox using jQuery


Redirect to another page


Chain jQuery methods

efficiently work with jQuery by chaining methods

Converting JavaScript Date object to string

how to convert a JavaScript Date object to string with taking care of the timezone

Get random integer between two numbers

how to get a random integer between two numbers

Append JavaScript Array to another Array

Append JavaScript Array to another Array