Can you make a confirm or alert show its message RTL and right-aligned?
Try adding this at the beginning of your message: "\u200f\u200f"
for example:
alert("\u200f\u200f"+ message);
or
confirm("\u200f\u200f"+ message);
Programmatically no, but the user's culture setting for their machine should determine which way it's presented, at least in all current browsers. I'm not aware of a comprehensive "who supports it" list though.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With