Sunday, March 25, 2012

Porting Prototype code to jQuery

Javascript frameworks evolve through time, and some give way to others. This is the case for the Prototype framework, supplanted by jQuery since a few years now.

We will see in that example the differences of calling an ajax function to process a minimalist contact form.

Sunday, March 18, 2012

DuckDuckGo, put a duck in your search engine

DuckDuckGo search engine
The search engine DuckDuckGo has been around for a few years already, but it has reached not long ago the million queries per day.

Let's see what makes this Duck an interesting alternative to Google or Bing.

Sunday, March 11, 2012

Advanced jQuery Form validation (5): how to limit the value of an input field to another's

In this example, we will limit the maximal value entered in an input field according to the one entered in another one.
The form has two input fields:
  • The first field is limited between 0 and 100 (limitation defined in the rule range: [0, 100])
  • The second one is limited between 0 and the value entered in the first field.