onValueSuggest

some item selected in the suggest control

void onValueSuggest(object obj){ ... };

Parameters

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