We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code: $('<div class="popup" data-popup="iframe-1">' + '<div class="popup-flex">' + '<div class="popup-inner">' + '<iframe src="'+url+'" frameborder="0" height="100%" width="100%" />' + '<a class="popup-close" data-popup-close="iframe-1" href="#">✕</a>' + '</div></div></div>').appendTo('body').fadeIn(600);
$('<div class="popup" data-popup="iframe-1">' + '<div class="popup-flex">' + '<div class="popup-inner">' + '<iframe src="'+url+'" frameborder="0" height="100%" width="100%" />' + '<a class="popup-close" data-popup-close="iframe-1" href="#">✕</a>' + '</div></div></div>').appendTo('body').fadeIn(600);
After this code there is nothing after appended iframe:
It was working fine before JQuery 3.5. But, if I replace self-closing iframe to <iframe....></iframe>, everything is working as expected:
$('<div class="popup" data-popup="iframe-1">' + '<div class="popup-flex">' + '<div class="popup-inner">' + '<iframe src="'+url+'" frameborder="0" height="100%" width="100%"></iframe>' + '<a class="popup-close" data-popup-close="iframe-1" href="#">✕</a>' + '</div></div></div>').appendTo('body').fadeIn(600);
Result:
And now, code after iframe is not lost. Why ? I couldn't find any important notice in Jquery docs / appendTo.
The text was updated successfully, but these errors were encountered:
Please read the issue template, it provides this issue as a frequently reported one. This is covered by the jQuery 3.5.0 blog post & the upgrade guide. Also, it's a duplicate of #4681, #4693, #4709, #4710, #4720, #4721, #4780 & #4823.
Sorry, something went wrong.
No branches or pull requests
Code:
$('<div class="popup" data-popup="iframe-1">' + '<div class="popup-flex">' + '<div class="popup-inner">' + '<iframe src="'+url+'" frameborder="0" height="100%" width="100%" />' + '<a class="popup-close" data-popup-close="iframe-1" href="#">✕</a>' + '</div></div></div>').appendTo('body').fadeIn(600);
After this code there is nothing after appended iframe:
It was working fine before JQuery 3.5. But, if I replace self-closing iframe to <iframe....></iframe>, everything is working as expected:
$('<div class="popup" data-popup="iframe-1">' + '<div class="popup-flex">' + '<div class="popup-inner">' + '<iframe src="'+url+'" frameborder="0" height="100%" width="100%"></iframe>' + '<a class="popup-close" data-popup-close="iframe-1" href="#">✕</a>' + '</div></div></div>').appendTo('body').fadeIn(600);
Result:
![image](https://user-images.githubusercontent.com/1121662/104449067-5093f680-559e-11eb-87f4-c23d48768762.png)
And now, code after iframe is not lost. Why ? I couldn't find any important notice in Jquery docs / appendTo.
The text was updated successfully, but these errors were encountered: