{% extends "index.html" %} {% block title %}Ajax{% endblock %} {% block main %}

Get HTML response from AJAX

Click the refresh button to get the HTML response.

The response may randomly be a voluntary error so you should try it more than once.

Refresh:

Upload files with AJAX

Select files to upload

The response may randomly be a voluntary error so you should try it more than once.

Upload files:


Set value via AJAX

Send value to the application.

If value is empty or is "We Make Porn" (case sensitive), an error is raised.

Get value from AJAX

Get a random value from the application.

Randomly raises a voluntary error so you should try it more than once.

{% endblock %}