Ticket #1275 (closed bug: worksforme)
.loadIfModified() won't work in FF2.0
| Reported by: | kklou | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.2.2 |
| Component: | ajax | Version: | 1.1.2 |
| Keywords: | .loadIfModified() | Cc: | |
| Blocking: | Blocked by: |
Description
In FF2.0, the .loadIfModifed() did not show the ajax return data, but displayed the original content only. The same coding worked well in IE6, Opera 9.02.
coding as following: $("#SiteInfo .Content a").click(function(){ $("#Console .Content").loadIfModified(this.href);return false;});
when the anchor is clicked, the #Console.Contentn should display the ajax return content. IE6 Opera9.02 works well. But FF2.0 display the original content instead of the ajax return content.
If the .loadIfModified() changed to .load(), no problem encounted.
Attachments
Change History
Changed 5 years ago by davidserduke
-
attachment
jquery_test.html
added
comment:1 Changed 5 years ago by davidserduke
- need changed from Review to Test Case
- Status changed from new to closed
- Resolution set to worksforme
- Milestone changed from 1.1.3 to 1.2.2
I wasn't able to reproduce this in the current version 1.2.1 (with the above test case I created) so I'm going to mark it as works for me. So if you have a test case that fails please reopen the bug and attach it.
BTW, the function
.loadIfModified("load.html")
no longer works and instead would be called like
$.ajax({ url:"load.html", ifModified:true });
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

test case (based on description)