JavaScript AutoComplete with php mysql
<p>I have a javascript, it getting json data from data/city.php,, and is working good</p>

<pre><code>var $kUI_autocomplete_template = $('#GJB_city');
        if($kUI_autocomplete_template.length) {
            $kUI_autocomplete_template.kendoAutoComplete({
                minLength: 2,
                dataTextField: "city",
                template:
                '&lt;div class="k-list-wrapper"&gt;'+                  
                        '&lt;span class="uk-text-muted uk-text-small"&gt;#: data.city #&lt;/span&gt;' +
                    '&lt;/span&gt;' +
                '&lt;/div&gt;',
                dataSource: {
                    transport: {
                        read: {
                            dataType: "json",
                            url: "data/city.php"
                        }
                    }
                },
                height: 204
            }).data("kendoAutoComplete");
        }
</code></pre>

<p>now i am trying to get data by posting value to <code>data/city.php?like=value</code>
I need keyup function to get data from city.php as on city.php mysql is using like statement to find data.</p>

<p>I am noob with js so can any one help me with how can i post data and get it working i was trying doing </p>

<blockquote>
  <p>url: "data/city.php?like=#: data.city #"</p>
</blockquote>

<p>its wrong i know can any one please help.
I am using <a href="http://demos.telerik.com/kendo-ui/autocomplete/template" rel="nofollow">http://demos.telerik.com/kendo-ui/autocomplete/template</a></p>