troubleshooting Question

jquery ui autocomplete not working in internet explorer

Avatar of monosyth
monosythFlag for United States of America asked on
JavaScript
17 Comments1 Solution2999 ViewsLast Modified:
This was working just fine yesterday and for the past year, I then updated jquery ui, but then put it back, and it doesn't work in IE, it works in all other browsers though. Is there an error in here? I have changed nothing, so I'm not sure why it's not working today.

<script>
      $(function() {
      
            $.ajax({
                  url: "/scripts/jqueryui/dev/demos/autocomplete/titles.xml",
                  dataType: "xml",
                  success: function( xmlResponse ) {
                        var data = $( "titlename", xmlResponse ).map(function() {
                              return {
                                    value: $( "title", this ).text(),
                                    spanishvalue: ( $.trim( $( "titlespanish", this ).text() ) || "(no translation)" ),
                                    id: $( "titlenameId", this ).text()
                              };
                        }).get();

                        $( "#titles" ).autocomplete({
                              source: data,
                              minLength: 0,
                              select: function( event, ui ){
                        
                        $("#ListingTitleSpanish").val(ui.item.spanishvalue);
}                        
                        });
                        
                  }
            });
      });
      </script>
ASKER CERTIFIED SOLUTION
monosyth

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 17 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 17 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros