خرید بک لینک

Vote count: 0

Im currently facing an issue where i have a select box that when changed, loads an iframe src with the specific url. This works perfectly on all browsers with the exception of ie9. On ie9, the first time the src is loaded, the url, which contains parameters with special characters like "Ç" for example get all messed up and this then causes problems after loading the iframe content. The weird thing is, if i change again the option in the select box, this time these parameters are shown correctly in the request.

Here's the portion of the url we see on the first url src loading: tw.local.ProductCode=CA�A -> it should be CAÇA

On the second change the url is shown correctly: tw.local.ProductCode=CAÇA-

I have the jsp file set with the utf-8 encoding:

And the way i change the src is with jquery attr method:

$('#iframeUploadFileBpm').attr('src', url);

Am i doing something wrong?

asked 25 secs ago

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 9 تير 1395 ساعت: 17:21

صفحه بندی