.getElementById('blabla').dir = 'ltr';
	window.alert('blabla ' + document.getElementById('blabla').dir);
}

</script>
<button onclick="return aa()">Click me!</button>
<button onclick="return bb()">blabla.dir = ltr</button>
</body>
</html>
