The code for this is even simpler than the previous. You just get rid of the button and in the select element add:

<SELECT NAME="select2" SIZE="1" ONCHANGE="goToPage2()"></SELECT>

And everything else is the same!