$('#fileToUploadName').val('');$('#doc-ttl-field').val('');$('#fileToUploadNameSrc').html('');$('#doc-description-field').val('');$('#DocumentsKeyID').val('');$('#preview').html('Preview Selected Document');$('#span_DocTypeDoc_').parent('li').trigger('click');$.fancybox.hideActivity();