I send a string for search with jquery ajax, it is working true in en lang alphanumeric characters, but dont work in cases that typing arabic or farsi lang.
this occur just in IE , this script working in chrome and firefox perfectly! you can see in here: http://webzzz.com
I solved it: the problem was in the ajax script
**// this not working with ie browser when using arabic letters**
xmlhttp.open("GET","livesearch.php?q="+str,true);
xmlhttp.send();
***// this will work in ie browser even with arabic letter after insert uncode(url)***
var uri = "livesearch.php?q="+str ;
var res = encodeURI(uri);
xmlhttp.open("GET",res,true);
xmlhttp.send();
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