keygenqt / yii2-autocomplete-ajax

A simple way to search model id of the attributes model.
https://old.keygenqt.com/work/yii2-autocomplete-ajax
Apache License 2.0
9 stars 14 forks source link

Callback to be called when receiving ajax response #7

Open php-wizard opened 6 years ago

php-wizard commented 6 years ago

When the ajax request returns a valid response, i wish the widget to call my custom JS function.

How to achieve that ?

keygenqt commented 6 years ago

use afterSelect ("Google Places API Web Service" has example)