Javascript

JavaScript is a programming language used to make web pages interactive. It runs on your visitor's computer and doesn't require constant downloads from your website.

How to set ACE editor mode according to the file extension of a file
Learn how to set the programming language of ACE editor according to the file extension of your file.
How to implement a diff and merge tool in ACE Editor
Learn how to implement an useful diff and merge tool for ACE Editor.
How to get the current cursor position (and selection) within a text input or textarea in Javascript
Learn how to get the position of the cursor within a text box or a text area easily with Backward browser compatibility in Javascript.
How to split an array into chunks of the same size easily in Javascript
Learn how to split an array into chunks in Javascript properly.
How to create a wordfind game (soup of letters) in the browser easily using Javascript
Learn how to create a dinamyc wordfind game using Javascript in the Browser.
How to decode a QR code from an image with Javascript
Learn how to decode a QRCode from an image (no camera) using pure Javascript.
How to get the client IP address with Javascript only
Learn how to get the client IP address (local and private) using only javascript.
Creating URL slugs properly in Javascript (including transliteration for UTF-8)
Learn how to create a slug of an URL in Javascript properly and in case that you need to, add support (transliteration) for UTF-8 characters.
How to retrieve the closest word in a string with a given index in Javascript
Learn how to retrieve the closest word in a string with a given index (from indexOf) in Javascript.
How to use PhantomJS in windows with the command prompt
Learn how to use PhantomJS from the command prompt of Windows.