Ajax help needed!

Hello again everyone! I am working on a new project for a company and I am having an issue dealing with Ajax. What I am attempting to do is send data to a php file using ajax, then return 2 variables. I keep seeing all over the web to either use arrays or json which I do not want to use. The reason I don’t want to use arrays is because the php file sends back about 50 lines of html code which is populated dynamically into a form which is inside a div. JSON is just more files that I have to add to the server and then learn how to use it for 1 function. That seems pointless to me :frowning: So for the actual question…Is there a way besides JSON or a HUGE array to retrieve 2 variables via AJAX in the same request?