Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script type="text/javascript" src="setDir.js"></script>
<style>
textarea { resize: none; }
</style>
</head>
<body onload="appendTextFromArray(new Array('456', 'גדה'))">
<div><input type="text" id="set0" dir="auto"></div>
<div><span id="set1" dir="auto"></span></div>
<div><textarea id="set2" dir="auto"></textarea></div>
<div><button id="set3" dir="auto"></button></div>
<div><bdi id="set4"></bdi></div>
</body>
</html>