I had the same problem. Do the following:
Change
setTimeout(JCommentsInitializeForm, 100);
in "/components/com_jcomments/tpl/default/tpl_form.php" (at line ~200) to
window.addEvent('domready' , JCommentsInitializeForm);
the problem is that the original code doesn't wait for the generating of full DOM, while the second does. I hope I could help somebody...
Hi i'm new here.
maybe you can try this one.
instead of using
setTimeout(JCommentsInitializeForm, 100);
in "/components/com_jcomments/tpl/default/tpl_form.php" (at line ~200)
change it to
if (window.addEventListener)
window.addEventListener('load',JCommentsInitializeForm,false);
else if (document.addEventListener)
document.addEventListener('load',JCommentsInitializeForm,false);
else if (window.attachEvent)
window.attachEvent('onload',JCommentsInitializeForm);
else {
//Older browsers only
if (typeof window.onload=='function') {
var oldload=window.onload;
window.onload=function(){
oldload();
JCommentsInitializeForm();
}
}
else
window.onload=JCommentsInitializeForm;
}
I also experienced this kind of problem before using this component in IE. Now it fixed using this code.
Hope it will help...
