Protoype/Scriptaculous Autocomplete

uziela11

New Member
I am getting this error when trying to select a object in my autocompleteThis only comes up in IE 8, and Firefox 3.5, not IE 7 or FF 3.0Error: uncaught exception: [Exception... "An invalid or illegal string was specified" code: "12" nsresult: "0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)" location: "http://localhost/js/prototype.js Line: 2853"] P2N.Submission.autoSuggest.init('', 'place-list', 'hiddenPlaceID', '/placeSearch.ashx?cityID=&allowNewPlace=', 'place-search-spinner', {resultID : '' }); Update:p2n is\[code\]var P2N = { returnVal: null, errorMsg: null, initWindow: function() { }, addSpinner: function(el) { if(!$(el).next('img.spinner'))$(el).insert({after: '<img src="http://stackoverflow.com/img/spinner_small.gif" alt="" class="spinner" />'}) }, removeSpinner: function(el) { var spinner = $(el).next('img.spinner'); if (spinner != null) spinner.remove(); }\[/code\]autoSuggest.init I believe is prototype version 1.6, and Scriptaclous vers 1.8While they also are loading jquery ver 1.3.2I believe it may be a conflict in all of these, but why would it work in older browsers?\[code\]};\[/code\]
 
Back
Top