Home : General : Internet Technologies :

General: Internet Technologies: Re: [TheStone] Javascript multiple fields, same name!: Edit Log

Here is the list of edits for this post
Re: [TheStone] Javascript multiple fields, same name!
Oh also I forgot to ask, how do you update a field when the name is given from a prompt?

eg...the following doesn't work:

var field = prompt("Please enter a field to update:", "");

document.form_name.field.value = "XYZ";

Thanks for your help.

Edit: I just tried the code suggested in your last post but I still can't seem to get it to work :(

Last edited by:

Paul: Apr 11, 2002, 11:32 AM

Edit Log: