0.0
No commit activity in last 3 years
No release in over 3 years
Makes building an AJAX web page easier than copying and pasting an example.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.5, >= 1.5.7
>= 1.0.0, ~> 1.0
 Project Readme

Introducing the jsajax_wizard gem

Usage

require 'jsajax_wizard'

jaw = JsAjaxWizard.new
jaw.add_request server: 'hello', element: {type: 'button', event: 'onclick'}, target_element: {id: 'demo', property: :innerHTML}

File.write '/tmp/demo.html', jaw.to_html

The above example generates an AJAX enabled web page which returns text from a server whenever the button is pressed. This gem is intended to make it easier to build a web page which uses AJAX.

Note: The web page must be hosted on the same web server as the server usef for the AJAX http request.

Resources

jsajax_wizard gem wizard builder ajax