473,320 Members | 1,978 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

why does jQuery's fadeOut() work different in IE?

Expand|Select|Wrap|Line Numbers
  1.  
  2. //deleteComment
  3.         $('a.c_delete').livequery("click", function(e){
  4.  
  5.             if(confirm('Are you sure you want to delete this comment?')==false)
  6.  
  7.             return false;
  8.  
  9.             e.preventDefault();
  10.             var parent  = $(this).parent();
  11.             var c_id =  $(this).attr('id').replace('CID-','');    
  12.  
  13.             $.ajax({
  14.  
  15.                 type: 'get',
  16.  
  17.                 url: 'delete_comment.php?c_id='+ c_id,
  18.  
  19.                 data: '',
  20.  
  21.                 beforeSend: function(){
  22.  
  23.                 },
  24.  
  25.                 success: function(){
  26.             parent.fadeOut(200,function(){
  27.                 parent.remove();
  28.  
  29.                     });
  30.  
this code works fine with firefox it just fades out and removes the comment with that id , but with Internet Explorer it fades out and removes that comment out plus all other comments below that comment to the bottom of the page, why does this happen? any help would be great thanx .
Nov 21 '10 #1

✓ answered by acoder

Post the corresponding HTML code.

2 1783
acoder
16,027 Expert Mod 8TB
Post the corresponding HTML code.
Nov 28 '10 #2
i missed a label tag and now works fine, i never thought that would of been the problem, thanks
Nov 29 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: anon | last post by:
How *EXACTLY* does Smart Navigation work? (I would really really really like for this Smart Navigation to work in Mozilla.) The inner workings and the code is what I am looking for. Does it...
1
by: John | last post by:
Hi, Does Dotfuscator really work? I mean is there no way to decompile your program when it's done? Or does it just make it more difficult to work with the decompiled code? Also, is there...
2
by: Vincent van Beveren | last post by:
I have the following (seemingly) useless piece of JavaScript <html> <head> <script type="text/javascript"> function frameMe() { s = "document.open();"; s +=...
9
by: chandramohan.mani | last post by:
Does Event handlers work in netscape. If yes means can anyone please help me. <HTML><SCRIPT LANGUAGE="JScript"> function mouseclick() { alert("I was clicked on " +...
12
by: Frank Hauptlorenz | last post by:
Hello Out there! I have a DB2 V7.2 Database (Fix11) on Win 2000 Professional. It was before a NT 4 based Domain - now it is a Win 2000 Domain. The database server is a domain member. Now...
0
by: Brian Tkatch | last post by:
DB2/SUN 8.1.6 ============================================================ About DB2 Administration Tools Environment ============================================================ DB2...
4
by: titan nyquist | last post by:
Why does ToTitleCase not work if the case is already in upper case? I have to make my string lowercase, first, before I pass to to ToTitleCase to have it work. Titan
3
by: xmail123 | last post by:
Why does this code work? I am new to C# and have been studying this piece of code. It loops through an Adjacency Matrix table to populate a tree view. I have two questions about why this code...
4
by: urneer | last post by:
How does TCP/IP work. How does complete internet work.
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.