js.php echo ' <br> function addScript(){<br> var script = document.createElement("script");<br> script.setAttribute("type","text/javascript");<br> script.setAttribute("src","123.js");<br> var hd = document.getElementsByTagName("head")[0];<br> hd.appendChild(script);<br> } <br> '; ?> 123.js アラート("addddddddddd");