我对以下代码有问题,显然我需要以某种方式逃避一些 html contet,但我不明白问题出在哪里以及如何解决它,请帮助:)
$(".alert_window_content").html('<div style="margin-top:15px; position:absolute; right:5; width:250px; z-index:2; opacity:0;"><input type="file" id="X" name="X" onChange="GetDiretory()"\>
</div>
<div class="X">
<form><input class="X" type="button" value="X"></input><div class="X" style="background-color:white; width:160px; height:19px; float:right; margin-right:3px; margin-top:2px;">
</div>
<div style="display:inline-block;"><input class="X" type="submit" name="X" value="X"\></div>
</form>
</div>
<div class="X" style="display:inline-block; margin-top:10px;"></div>');