I would like to select an input type text field that contains the word "hi" in it.
Assuming my input is this:
<input type='text' id='texto' />
I saw that it is possible through:
$("#texto[value='oi']")
But I saw that it only works if the value is explicit in the "value" attribute. It does not happen most of the time.
Is there any other selector for me to achieve this without having to set the value attribute of the input?