Why does return false not work on this?

I have some code like this, which is on a button click event.

var $this = $(this);
	$this.closest('.opts').find("select").each(function() {
	  id = this.id;
	  alert('Choose one');
	  return false;

Why doesn’t the return false work here? Instead I am using prevent default.

Any suggestions will he highly appreciated!

A post was merged into an existing topic: Get all inputs of same div