Wednesday 11 September 2019

JavaScript enter Arabic letters validation

I am working on a simple PHP website where the user has to enter data in a form,


and if the user didn't enter Arabic letters I want to show a warning message "Arabic only" , I tried using the code below but it shows the warning message if I entered both Arabic or English letters.



No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...