Need javascript to set input field value field
I know absolutely nothing about javascript. But I need a script that will take two parameters (field_ID, myValue) and place the 'value' supplied into the field_ID supplied.
I have tried... document.formname.getelementbyid(field_ID).value = myValue
but it does not work.
TIA for your assistance.
|