attempting to do the templateing with fieldss filled with ajax calls

cant seem to keep the jquery ui elements working after loading the php
informationw tiha  ajax call.