Hi PaoloBax,
Actually, it is a correct behavior the ‘select’ event to be raised when an item is selected even with a method call. The ‘select’ event arguments can be used to determine the selection’s source – API, keyboard or mouse.
$('#jqxListBox').bind('select', function (event) { var args = event.args; var selectionType = args.type; });
The args.type values could be: ‘none’ – selection is via a function call, ‘keyboard’ – selection is via a keyboard navigation, ‘mouse’ – selection is via mouse click.
Best Regards,
Peter Stoev
jQWidgets Team
http://www.jqwidgets.com