Menu

Close
  • Home
  • JavaScript
  • jQuery Plugin
  • AngularJS
  • Webpack
  • CSS
  • Demo
  • Chrome Extension
  • luluyum.com
Donate
Menu

javascript

A 24-post collection

Page 1 of 3 Older Posts →

A tiny carousel with jQuery

I have been wanting to do this for a long time. Finally I made this: a really tiny carousel. It is good for: a light weight »

Author image Yang Zhao on javascript 21 October 2014

Flat nested array in JavaScript

Convert [[0, 1], [2, 3], [4, 5]] to [0, 1, 2, 3, 4, 5] or [4, 5, 2, 3, 0, 1] Solution 1: var flattened = [[0, »

Author image Yang Zhao on javascript 10 August 2014

Using jQuery $.deferred with multiple ajax calls

I've been working on SPA (single-page application) with different frameworks, such as AngularJS and DurandalJS. Most of the time, each partial or viewModel needs multiple restful »

Author image Yang Zhao on javascript 26 June 2014

How to create a download link in HTML

Regarding to this topic, I have 5 ways to add a file download link/button in HTML. See below: 1. <a> <a href= »

Author image Yang Zhao on javascript 20 May 2014

JavaScript Type Conversion

This post aims to only list out the most common use of JavaScript Type Conversions: Convert to Boolean: var boolValue = !!x; Convert to String: var stringValue »

Author image Yang Zhao on javascript 26 February 2014

How to get the value from URL parameter?

How to get the value from URL parameter? This is a very common tip in web development. Code is as follow: function getValue(key) { var query »

Author image Yang Zhao on javascript 01 August 2013

Transpose in JavaScript

Transpose in JavaScript Transpose: interchange rows and columns of a matrix (two-dimensional array). [ [1, 2, 3], [4, 5, 6] ]; ↓↓↓ [ [1, 4], [2, 5] »

Author image Yang Zhao on javascript 23 July 2013

How To Improve Web Sites Performance

The first time I saw Steve Souders was at HTML5 Conference 2013 in San Francisco. Just in case you haven't heard about him, here is a »

Author image Yang Zhao on javascript 18 June 2013

Log JavaScript to a Python HTTPServer

In this tutorial, I am going to teach you how to log JavaScript to a Python HTTPServer[1]. For a front-end developer, this becomes very useful »

Author image Yang Zhao on javascript, python 03 March 2013

Static Members in JavaScript

Static properties and methods are those that don't change from one instance to another, which can be used without having to create an instance of the »

Author image Yang Zhao on javascript 24 February 2013
Page 1 of 3 Older Posts →
GeniusCarrier © 2022