Side navigation
#5133 closed bug (invalid)
Opened August 27, 2009 09:34PM UTC
Closed June 13, 2010 05:19PM UTC
Last modified March 10, 2012 07:19AM UTC
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
Attachments (0)
Change History (1)
Changed June 13, 2010 05:19PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
This doesn't appear to be a bug report.