getItemId

returns the id of the suggest's item

id getItemId(string text);
textstringthe text of the suggest's item
idid of the item in question

Example

var id = $$("mysuggest").getItemId("Banana");

See also
Back to top