The example that programmatically adds option to selectbox on page load and shows alert every time you change it: