#5133 closed bug (invalid)
IE, internet explorer, innerhtml, html(), .html(), $().html update of innerHTML does not work
Reported by: | jorenchong | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | unfiled | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
refering to http://dev.jquery.com/ticket/1029
The main problem is that after an ajax call, the ,html() is not be updated. You can do an empty(), but that does not help at all. I have figured this out in several hours (damn it was mindcracking) ... The trick is to do an AJAX call within an AJAX call at the success and gaurantee you have your site working as you wanted!
Here an exemple :
$.ajax({url:'modifyarticle.php',type:'POST',data:{id:this.id,article:'spa',mode:'single',article:'spa',action:'delete'},cache:false,success:function(msg) {alert(msg);$.ajax({url:'getallarticles.php?articles=spa',type:'GET',cache: false, success: function(data) {$('#outputspa').html(data);}});}});
Hope this will help someone
Jo
This doesn't appear to be a bug report.