.load() or .get not works in internet explorer 8
I'm developing a listing of workers, where the user can by department select through of tag select (html). But, my jQuery function not works in IE 8.
-
- function popularFuncDeptos(){
- var sigla = $("#sel_depto").val();
- if(sigla != "all"){
- $("#listas").load('/ReconhecimentoNew/funcionario/depto/' +sigla+ ' #list_depto',
- function(){
- $("#list_all").hide();
- $("#list_depto").show();
- });
- } else {
- $("#listas").load('/ReconhecimentoNew/funcionario/depto/' +sigla+ ' #list_all',
- function(){
- $("#list_depto").hide();
- $("#list_all").show();
- });
- }
Could anyone help me?