Home > jquery-ahah

jquery-ahah

Jquery-ahah is a project mainly written in JAVASCRIPT and RUBY, it's free.

Quick and dirty Asynchronous HTML and HTTP written in JQuery and supported by Ruby+Sinatra

ABOUT

This is a super simple example of Asynchronous HTML and HTTP (AHAH) and progressive enhancement. Try submitting the form with JavaScript turned and turned off. With JavaScript on, you'll see a greeting appear display above the form. With JavaScript off, you'll be redirected to a page containing the greeting.

INSTALLATION

via Github

git clone git://github.com/mhawkins/jquery-ahah.git

REQUIREMENTS

Ruby and the following Rubygems:

  • sinatra
  • haml

RUNNING THE CODE

From your console

cd PATH_TO_APP

ruby ahah.rb

Now in your browser, go to

http://0.0.0.0:4567

From there, try submitting the form with and without JavaScript.