Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Quick and dirty Asynchronous HTML and HTTP written in JQuery and supported by Ruby+Sinatra
JavaScript Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
public
views
README.markdown
ahah.rb

README.markdown

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.

Something went wrong with that request. Please try again.