Form-filter by jQuery. What was missing in the script?

Good afternoon. Is a form two drop-down lists , buttons, and result. That's clearly -

Wrote a condition in jQuery that when you select certain values gives 1 of 5 results. The script works only 1 time and never produces the result. Somewhere made a mistake, his eyes already blurry. Is that correct? thank you
March 19th 20 at 08:50
1 answer
March 19th 20 at 08:52
only works 1 time and doesn't display the result

Nonsense. Always works, the result is the same every time.


jQuery(this).parent().find('.check-year .slct').children('span').text()


parseInt(jQuery(this).parent().find('.check-year .slct').text(), 10)

Find more questions by tags jQuery