Location: PHPKode > projects > SimpleHRM > simplehrm-1.0-beta1/simplehrm-1.0-beta1/templates/default/company/hrForm.tpl.html
{* notag *}
<div id="company_hrformlisting">{include file=company/hrFormListing}</div>
{literal}
<script type="text/javascript">
	function download(fname,id){
		var url="##LBL_SITE_URL##company/downloadHrForm/ce-0";
		$.post(url,{fname:fname,id:id},function(res){
			show_fancybox(res);
		});
	}
	$(document).ready(function(){
		setTimeout('refresh()',10000);
	});
	function refresh(){
		var qs=$("#start").val();
		var url="##LBL_SITE_URL##company/hrForms/ce-0";
		$.post(url,{chk:1,qstart:qs},function(res){
		 	$('#company_hrformlisting').html(res);
		});
		setTimeout('refresh()',10000);
	}
</script>
{/literal}
Return current item: SimpleHRM