How to select dropdown list option by name instead of value?

johnblidas

Client
Регистрация
01.09.2011
Сообщения
12
Благодарностей
0
Баллы
1
Hi everyone,

I'm trying to create some wordpress installations with fantastico on cPanel and there is a dropdown list where I need to select the domain where i want to install it.

Problem is, I don't know the option value because i want to select the option based on the addon domain i've created previously, so i need to select the option based on it's name rather than it's value.

The html looks like this:

<option value="somedomain.com">somedomain.com</option>

In the html the option value is the domain name but when I click it and check it on "selected element properties" the value is a number.


Can anyone help me please?

Thank you,
John
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)