Answer the question
In order to leave comments, you need to log in
jquery append in ie7?
Hello.
I use this method to customize the appearance of the twitter widget:
habrahabr.ru/post/189170
But JQuery append does not work in ie7
$body.attr("id", "twitterStyled")
.append($("#twitterStyle"));
if (!document.all || document.querySelector) {
twtr_body.append(twtr_style);
}
Answer the question
In order to leave comments, you need to log in
The solution was found, I have a read-only account on Habré, whoever can - please throw it in the comments there, maybe it will come in handy for someone.
if (!document.all || document.querySelector) {
twtr_body.append(twtr_style);
}
else {
twtr_body.append('<style type="text/css" id="twitterStyle">' + twtr_style.html() + '</style>');
}
Press f12 - , there is a Javascript console - and write the error that it gives from there.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question