
Prototype "Ajax.Request is not a constructor" Fix
Date: Tuesday, December 23 @ 18:08:13 PST Topic: Internet Stuff
If you are using Prototype with bsn.Autosuggest, you may receive "Ajax.Request is not a constructor" errors when attempting to post a new Ajax Request. I encountered this when implementing Starbox while also having bsn.Autosuggest loaded too.
The fix for me was to replace "_bsn.Ajax" with "_bsn.Ajax2" in the bsn.autosuggest javascript file. There was a conflict where Starbox was trying to use the Ajax object from autosuggest instead of prototype.
|
|