SalesforceFoundation/visualforce-typeahead — pull request #9 by bolaurent (2014-11-18 18:55:53+00:00)
Title: VF component IDs with colons

Some VF components (e.g. ) cannot be assigned dynamic
IDs. We have to reference them like:

destinationForSelectedId="{!$Component.ProductId}"

As a result, the component ID contains multiple colons, e.g.:

j$('[id$=thePage:theForm:thePageBlock:lineItemsTable:0:ProductId]')

I’ve added code to escape these colons, which confuse jQuery.