[TS SE 4.3] problem with AJAX + IE
hi everyone
this is my problem i have a fresh install TS SE 4.3 and when i want comment a torrent (i have AJAX functions activaded) with Internet Explorer i got an unknown error (when i press the submit button). it says something like "error on line 225 in preview.js". even with this error, the comment is posted but no display it in the same moment. i have to refresh (F5) the page to see the message. this is the line 225 in previer.js HTML Code:
document.getElementById('ajax_comment_preview').innerHTML = result; :) pd: this happens in v5.1 too |
anyone can fix this i have the same problem with my tracker :nosepick:
|
I don't know about you two but there is something written on the bottom of every TS
"This site is best viewed with Firefox and with 1280*1024 in resolution." IE sucks, it has bugs like that! |
Phi, that is a bug specific to Internet Explorer, when you set the innerHTML property of the Select object, the changes do not take effect correctly.
If you must use innerHTML, a workaround is to use a Div object to wrap the SELECT element and then set the innerHTML property for the Div object. Don't know XAM's code, not really interested either but I can give you an example: HTML Code:
<html> The use of innerHTML isn't recommended by W3C either. Cheers! |
Quote:
|
All times are GMT +2. The time now is 01:53. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.