I have two textboxes
<input id='random_value' name='random_name' value='First'
<input id='random_value' name='random_name' value=''
I need to replace the value of a textbox having value ‘First’ with ‘Second’ instead of using textbox id or textbox name.Is it Possible?
this function will replace the value in all input elements with “Second” if their value is “First”: