Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Ajax: Autocomplete and Highlight Work in IE but not Chrome or Firefox

$
0
0

I am using ajax to filter a list of data on one field. There is a textbox with a 'search' button at the top of the page.

The search will filter the list on the string entered into the box, then update/replace the partial view for the page. After the replacement the data will highlight using jquery highlight.

I also have jquery autocomplete implemented into the search  box.

This all works in IE9, but I cannot figure out why it is not working in Chrome or Firefox.

I opened up the debug console in chrome while running the site and chrome had the following error:

Uncaught Error: Syntax error, unrecognized expression: form[data-jqlogic-ajax='true'

jqlogic the name of the javascript file where the autocomplete and highlight code resides (jqlogic.js).

The "form[data-jqlogic-ajax='true' is one of the lines of code in the javascript file.

I haven't had any issue with auto complete or highlight in IE9 with my jqlogic.js file, which the code is from pluralsight's mvc tutorial on this website (google pluralsight mvc tutorial).


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>