DEMOS / Postbacks

Postbacks allow you to build interactive web applications. You can wire a Nitrogen element to listen to any Javascript event. When the event fires, the element will post back to the event/1 function on the calling page (or alternatively some delegate module) with the element's tag. This allows you to use the power of Erlang pattern matching to build an event-driven application.

View Module Source

Click Me

Mouse Over Me
Copyright © 2008-2014 Nitrogen Web Framework. Released under the MIT License.