您即將從本網站離開,並前往https://stackoverflow.com/questions/55155660/how-to-return-html-code-in-a-javascript-function-with-conditional-statements