View Single Post
  #1 (permalink)  
Old May 8th, 2007, 03:11
jdadwilson jdadwilson is offline
New Member
Join Date: May 2007
Location: CA
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Angry 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.
Reply With Quote