Description: Creates a span that updates itself via AJAX by polling from a given URL.
Parameter:
- htmlNames: Name of the span.
- url: The HTTP URL to poll.
- staticValue: Value that should be shown, when AJAX is not available (e.g. when JavaScript is disabled)
- timeout: Time in milliseconds to poll the URL for new status.
root
2015-09-06