Jul 25, 2016

Limit multi selectlist values in spotfire using Java script

$("#1f26c088453c4877a82e02b276e6fdf1").change(function()
{
var options = $('#1f26c088453c4877a82e02b276e6fdf1 > option:selected');
         if(options.length > 3){
             alert('You have selected more than three; ');
             return false;
         }
    });

No comments: