Skip to content

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

Notifications You must be signed in to change notification settings

mhawkins/jquery-ahah

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published