That also explains why the error on the dropdown box with the proper syntax. Because it wasn't referencing the dropdown element. Anyway, glad it works.