Javascript Function

Job ID: 32394749

Budget: $10 – $11 USD

Javascript Function is not working, I have a simple function that will avoid selecting the same number from the select option. It is working till 9, but once 10 comes, it is not working because 10 has 1 in it.
Related categories: PHP JavaScript HTML5 HTML jQuery / Prototype