Opened 11 years ago
Closed 11 years ago
#10223 closed bug (invalid)
Unstable 1.6.2 (dynamic load jquery)
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | core | Version: | 1.6.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Using Jquery for ajax and enabling "pop controls" However. 1.4.2 worked perfectly like it suppose to when loading Jquery dynamically (if the environment doesn't currently have jquery load it) - though using both versions without dynamic load jquery the script runs properly. Here is the example of dynamic load (using 1.6.2)
<script type="text/javascript"> if (typeof jQuery === "undefined" || jQuery.fn.jquery !== '1.4.2') { var st = document.createElement('script'); st.setAttribute("type","text/javascript"); st.setAttribute("src", "http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"); st.onload = main; st.onreadystatechange = function () { if (this.readyState == 'complete' || this.readyState == 'loaded') main(); } document.getElementsByTagName("head")[0].appendChild(st); } else { main(); } function main() { $(document).ready(function() { var ps = document.createElement('script'); ps.setAttribute("type","text/javascript"); ps.setAttribute("src", "pop.js"); document.getElementsByTagName("head")[0].appendChild(ps); }); } </script>
Not sure how else I can describe it. But the pops (when they do work) they open too many. multiple (2) at once instead of 1 pop with a click.
Contact me, I do have a setup for the testing to this.
(and using it with 1.6.2 and 1.6.3 are the same)
Change History (2)
comment:1 Changed 11 years ago by
Component: | unfiled → core |
---|---|
Owner: | set to [email protected]… |
Status: | new → pending |
comment:2 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket!
Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.