I’m trying to get value of a disabled (disabled="disabled") <input> field, but it returns an empty string.
I have tried: .Text, GetAttribute("value"), but none of this works so far.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you tag it like this –
Your code should be –
or
Make sure your code is correct.
For this tag –
To get the value attribute –
value must be
PārtrauktsIf this does not work, you may have to use the JavaScript executor –
Your query should be –