Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2018-03-01 12:45:45 -05:00
parent 418005bd4a
commit 581cb3c7ba
+2 -7
View File
@@ -135,16 +135,11 @@ def test_bare_js_eval():
<!DOCTYPE html>
<html>
<body>
<div id="replace">This get's replaced</div>
<div id="add">This get's added to:</div>
<div id="replace">This gets replaced</div>
<script type="text/javascript">
function addText() {
document.getElementById("add").append(" Text");
}
document.getElementById("replace").innerHTML = "yolo";
</script>
</script>
</body>
</html>
"""