Creating a field setting HTML ajax function.