When editing an item within your application (component, template, module, etc...) you may be away from the editor form for a period of time doing research, or whatever. It's always a pain to find that when you return to your form, finish filling it in and click the submit button - Joomla has logged you out and your input has been lost.
This element implements the Joomla! AJAX keepalive behavior to prevent that timeout.
Implement this custom parameter type using Joomla Custom Parameter Documentation as a guide. Implement within your application config.xml file (assuming you named the element keepalive.php):
<params addpath="path/to/folder/elements"> ... <param type="keepalive" /> </params>
<?php //Check to ensure this file is within the rest of the framework defined('JPATH_BASE') or die(); class JElementKeepalive extends JElement { var $_name = 'keepalive'; function fetchElement($name, $value, &$node, $control_name) { JHtml::_('behavior.keepalive'); return; } }