Hacker News new | ask | show | jobs
by StefanBatory 499 days ago
Speaking on Polish websites,

function czyWybranoPsa() {

var isPies = false; var bil_dod_psy_arr = [17, 18, 19]; // psa, psa-asystenta, psa-przewodnika

$(".bilet_dodatkowy").each(function(idx, elem) { if (bil_dod_psy_arr.indexOf(parseInt($(elem).val())) > -1) { isPies = true; } });

return isPies; }

;)