Hello!
I have a script that works with
autocomplete.
But I need to add another parameter to
myurl when selecting from the dropdown menu.
Can anyone help?
- <from>
- <select name="country" id="country" class="btn-country-select">
- <option value="0"></option>
- <option value="1" >Austria</option>
- <option value="2" >Zambia</option>
- </select>
- <input type="text" name="searchStr" id="searchStr">
- </form>
-
- $().ready(function() {
- $("#searchStr").autocomplete("myurl", {
- width: 218,
- matchContains: true,
- selectFirst: false
- });
- });