The generated code in the console output is as follows:

Can be obtained after replacing the contents of the div is like this:

That is to say & lt; % % & gt; Within the code has not been executed, and hope to teach a great god!!!!!!
CodePudding user response:
<% % & gt; This is a JSP or asp scripting language you want to change the suffix to *. The JSP or *. Asp to run on the serverCodePudding user response:
Still have even if, even if changed to a JSP file, also a little bit wrong, you use should be the JavaScript code, & lt; % % & gt; Should be put in Java codeCodePudding user response:
Solved? Excuse me, I also encountered this problem