Skip to content
This repository was archived by the owner on Jul 2, 2018. It is now read-only.

Conversation

@codingluke
Copy link

Example

$('#searchfield').autocomplete({
    url: 'http://www.someexternalurl.com/autocomplete',
    remoteDataType: 'jsonp',
    jsonpCallback: 'customCallbackName'
});

Response must be encapsulated in a function defined with jsonpCallback

customCallbackName({"results": ["suggestion1", "suggestion2", ...]})

Intelligent adding a jsonpCallback function. The function name can be customized with the option jsonpCallback
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant