<div dir="rtl">اگه
تونستی تو کادر جلویی، با انگلیسی، و با حروف کوچک بنویسی...<input
id="input" onkeyup="myFunction1()" type="text"
onkeydown="myFunction()">
<p style="color:red;" id="p"></p>
<script>
function myFunction() {
document.getElementById('p').innerHTML = 'چشمم روشن... بدون اجازه من تو این کادر چیزی نوشتی؟ :دی'
}
function myFunction1() {
x = document.getElementById('input');
x.value = x.value.toUpperCase();
}
</script>