Is there anyway to trigger a button when the length of my textbox reach a length of 8 ?

For example, when i type the 8th character on the txtbox, it will automatically trigger a button.

thanks.