Answer the question
In order to leave comments, you need to log in
How to execute a script command when receiving data?
I make an AJAX request from my site to the server, the server itself returns the code
<div>......
<script>alert(1)</script>
Answer the question
In order to leave comments, you need to log in
varscript = document.createElement('script');
script.src = something;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question