Description: Defines AJAX code that clicks a submit button when the given URL returns 'submit'. The defined constant should be used as LAST part of the $extra parameter in the HTML_submit function.
Parameter:
- htmlNames: Name of the HTML submit element (button).
- url: The HTTP URL to poll.
- timeout: Time in milliseconds to poll the URL for new status.
Returns:
- Constant name to insert into $extra.
root
2015-09-06