//handles removing the disabled form stuff and loading gfx function resetForm() { $("#numufos").val(""); $("#yourname").val(""); $("#description").val(""); $("#sightForm").removeAttr("disabled","disabled"); $("#loadingGraphic").hide(); var status = $("#status"); if(online()) { status.fadeIn().html("Your sighting has been saved!").fadeOut(4000); } else { status.fadeIn().html("Your sighting has been saved locally and will be uploaded next time you are online!").fadeOut(4000); } }