I have the text firstName that I want to change its value, but it does not work -
<input type="text" name="firstName" /> <script LANGUAGE="JavaScript" TYPE="text/javascript"> document.getElementsByName("firstName").[0].value = "New Value " ; </script>
How to change this value?
source share