#6263 closed bug
warning using jQuery 1.4.2 on https pages
Reported by: | haijamal | Owned by: | |
---|---|---|---|
Priority: | Milestone: | 1.4.3 | |
Component: | core | Version: | 1.4.2 |
Keywords: | warning on https | Cc: | |
Blocked by: | Blocking: |
Description
When using jQuery 1.4.2 in https a warning message is poping up. ("This page contains both secure and nonsecure items.")
This warning doesn't occur on jQuery 1.3.2
Change History (6)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
need: | Patch → Test Case |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Please reopen with a simple test case.
comment:3 Changed 13 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
comment:4 Changed 13 years ago by
With jQuery 1.4.2 and SSL we get a warning message "This page contains both secure and nonsecure items."
Below is the test aase:
On Document Ready
$(document).ready(function(){
var $idiv = $('<div style="background-image:url(alert.png);">Dynamic Div</div>');
$('#dynamicDiv').append($idiv);
});
<body>
<div id="dynamicDiv"></div>
</body>
I am trying to append connect dynamically. I am using append method.
This code works with jQuery 1.3.2 in a SSL environement with out warning.
but with jQuery 1.4.2 the append method throws warning in the above code.
Instead of append now i use,
$('#dynamicDiv').html($('#dynamicDiv').html() + '<div style="background-image:url(alert.png);">Dynamic Div></div>');
the above code doesn't throw warning. I am using the above code in developement. But I don't want to use the above code in production.
comment:5 Changed 12 years ago by
Status: | reopened → pending |
---|
This ticket has been marked as missing a test case. In an effort to reduce the number of outstanding tickets in the bug tracker, it will be closed automatically in 30 days. In order to prevent this from happening, please provide a working test case. If a test case has already been provided and our records are wrong, please respond to the ticket so that it can be fixed. Thank you!
comment:6 Changed 12 years ago by
Status: | pending → closed |
---|
Automatically closed due to 14 days of inactivity.
I am using IE 7 / 8.