Home > front end >  Solution: in the HTML code is not implemented within the
Solution: in the HTML code is not implemented within the

Time:03-12

You have a demand: automatically generate code to replace the contents of the div

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 server

CodePudding 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 code

CodePudding user response:

Solved? Excuse me, I also encountered this problem
  • Related