With the usual caveat about scriptlets being technology that is over 12 years out-of-date (12 years!) and should not be used, you can make an Ajax request to the server and load the result into the DOM.
The jQuery .load() method is one of the easiest ways to do this.