I am facing an error.when i write text in text field
. The text is going in reverse
order. for example:
when I write " Hi how are you "
The text is going in reverse like this " UYO REA OH HI "
how can I fix it? I have used silent WP theme. any idea, please? I have tried to inspect but can no any luck. Can any one guide me? I also try it. but its not working for me.
$('#s').on('keyup', function() {
var reverse = $(this).val().split('').reverse().join('');
$('#s').text(reverse);
});
What about CSS? Maybe that will help:
direction: rtl;
unicode-bidi: bidi-override;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.