jQuery is not filtering/selecting on IE after ajax call
Posted
by VinTem
on Stack Overflow
See other posts from Stack Overflow
or by VinTem
Published on 2010-03-24T14:16:04Z
Indexed on
2010/03/24
14:23 UTC
Read the original article
Hit count: 274
I have the following code that works on firefox and chrome
$("#adicionarItem").click(function(){
$.ajax({
type: 'GET',
url: $("#formAdicionaItem").attr("action"),
data: $("#formAdicionaItem").serialize(),
success: function(response){
alert($("div#errors", response).size());
}
});
});
In IE the alert always returns zero. In firefox/chrome it returns 1 wich is the expected value. Does anyone know if this is a bug or if I am doing something wrong?
© Stack Overflow or respective owner