Change direction to Right to Left

  •  11-23-2006, 2:13 AM

    Change direction to Right to Left

    I'm trying to change direction from javascript function :
     var editor = document.getElementById('Editor1');
    editor.focus();
    editor.style.direction = "rtl";
    document.execCommand('JustifyRight',false,null); document.execCommand('InlineDirRTL',false,null);
    It change the toolbar only, but in textarea direction remain 'ltr'
View Complete Thread