I have a partial view that is updated with info from an AJAX request every time you click on an HTML element. The partial view holds a profile of a person, and has a bunch of different HTML elements (Name, Age, etc.)
I have about 20 different elements that I have to update on click - right now I manually set an ID for each one (e.g. #prof_name, #prof_age, #prof_gender, etc). Needless to say it looks pretty bad and sloppy.
Is there a more efficient way to update a ton of HTML elements?