+ 1
Javascript function to verify a text is non editable
Can someone help me to create a function for the above one
9 odpowiedzi
+ 1
What do you want verify about the text?
Please explain with examples. Link your code.
+ 1
If the button is in read-only mode? Or which element?
Please link an example.
+ 1
Yes, I understand what read-only is.
My question was: Which element is supposed to be in read-only mode? The button itself or a different element. Where is the "text" that you were talking about?
IT WOULD BE HELPFUL IF YOU LINKED YOUR CODE.
+ 1
You get the element and check if element.readOnly == true.
I assume you are using an input-button? Why do you need to check for read-only (there isn't anything editable from the users perspective?)
0
If a button is greyed out we have to verify it is in read-only mode
0
Read only mode
0
Button itself
0
For testing purpose
0
Hello