onValueSuggest

some item selected in the suggest control

void onValueSuggest(object obj);
objobjectdata object for the related option

Example

suggest.attachEvent("onValueSuggest", function(obj){
    alert("Suggested "+obj.id);
})

Details

Two main scenarious for event

  • click on item in suggest list
  • keyboard navigation with selection by enter key
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.