Javascript Form Loosing Dynamically Created Table After Function

Javascript Form Loosing Dynamically Created Table After Function