Return the unicodeBidi property: - Javascript CSS Style Property

Javascript examples for CSS Style Property:unicodeBidi

Description

Return the unicodeBidi property:

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<body>

<p>This is a paragraph.</p>
<p id="myP" style="direction:rtl;unicode-bidi:bidi-override;">This is another paragraph.</p>

<button type="button" onclick="myFunction()">Return the unicodeBidi property</button>

<script>
function myFunction() {/*from  w  w w .  ja v a2 s .  c  o m*/
    console.log(document.getElementById("myP").style.unicodeBidi);
}
</script>

</body>
</html>

Related Tutorials