Quantcast
Channel: Richard Knop » JavaScript and AJAX
Browsing latest articles
Browse All 6 View Live

Image may be NSFW.
Clik here to view.

Writing your own JavaScript without frameworks

Most people today aren’t really writing their own JavaScript, they are just using frameworks such as jQuery, Dojo or YUI. I’ve been doing the same thing for a long time but I have decided it is the...

View Article



JQuery autosave on click event

What does this simple jQuery snippet do? When you click on the link with class “autosave”, the form with id “autosave” is submitted via POST request to the same page. After that it redirects to the...

View Article

Interesting jQuery toggling of a loading gif

This is an interesting way to hide/show an AJAX loading gif image. Once an ajax request starts, the div containing the loading image shows up, once the request is done, the div is hidden again. I saw...

View Article

Are Backbone Models Singletons?

I have been using Backbone (plus couple of other JavaScript libraries) for my last project. One of the first problems I encountered was when setting a model property using defaults keyword which made...

View Article

How To Properly Inherit Methods From Prototype

JavaScript is using prototypal inheritance instead of the common class bases inheritance we are all used to from Java or C#. This can be difficult to understand at first. Consider the simple following...

View Article


Permutation algorithm

You might remember me writing several articles explaining different sorting algorithms. I might come back to that series as there are few sorting algorithms I haven’t gone through. But I wanted to do...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images