- Posts: 17
- Thank you received: 1
Ask the community, share ideas, and connect with other LimeSurvey users!
$( ".selector" ).autocomplete({ select: function( "autocompleteselect" , ui ) {} }); $( ".selector" ).on( "autocompleteselect", function() { checkconditions() } );
$('#question{QID}').autocomplete({ // Some autocomplete options go here... // Fire the checkconditions function select: function(event, ui) { var thisInput = $('#question{QID} input.text'); checkconditions($(thisInput).attr('value'), $(thisInput).attr('name'), 'text'); } });