Snowboard

Testing the Winter JavaScript Framework.

HTML Data Attribute Requests


Simple request

This is a test to do a simple AJAX request on the click of a button and show a success message next to the button on completion.


Form submission

This is a test to make a form submission via AJAX and display the form contents on completion. The AJAX request is initiated from the Submit button.


Error response

This is a test to do an AJAX request that throws an exception. It should show a Flash error message.


Flash response

This is a test to do an AJAX request that sends a Flash response back of differing types.


Appended and prepended content

This is a test to do an AJAX request that appends or prepends content as opposed to replacing the content of the targeted element.

Test prepend
Prepended content
Test append
Appended content

Form validation

This is a test to do an AJAX request that triggers a form validation error if the "Name" field does not contain the word "success".