[Popup] Popups don’t work with anchor tags when jQuery 3.2.0 is being used
See original GitHub issueHere is the case:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.9/semantic.min.css">
</head>
<body>
<a id="test" data-content="test" data-position="top left" data-variation="inverted">Test</a>
<div id="test-div" data-content="test" data-position="top left" data-variation="inverted">Test div</div>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.9/semantic.min.js"></script>
<script>
$('#test').popup(); // it does not work
$('#test-div').popup(); // it works
</script>
</body>
</html>
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Anchor tag links not working in jquery pop up - Stack Overflow
I want to do so when I click on help 1 link then it should go to content of C1 in popup window...
Read more >jQuery 3.2.0 Is Out!
jQuery 3.2.0 has been released! This release includes some bug fixes, improvements, and some deprecations. There should be no compatibility ...
Read more >Popup Widget | jQuery Mobile API Documentation
To create a popup, add the data-role="popup" attribute to a div with the popup contents. Then create a link with the href set...
Read more >jquery-confirm.js | The multipurpose alert & confirm
A multipurpose alert, confirm plugin, alternative to the native alert() and confirm() functions. Supports features like auto-close, themes, animations, ...
Read more >Magnific Popup: Responsive jQuery Lightbox Plugin
Light and open source responsive lightbox plugin with focus on performance, for jQuery and Zepto.js. High-DPI (retina) display support, fast tap for touch ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@iROCKBUNNY disregard my last message, it seems to be my lack of understanding of how JSFiddle works, and CDNs do actually work. I’ve just followed your setup and reproduced the issue.
Hi @iROCKBUNNY, thanks, can confirm. Closing the issue—it seems that the problem wasn’t on SUI’s end.