Form items

Results 1 to 4 of 4

Thread: Form items

  1. #1
    Count Dracula Guest

    Default Form items

    Can you not dynamically call form items with javascript, ie:<BR><BR>template = "template" + i; <BR>seeker = document.forms.fdahome."+ template +".value;

  2. #2
    Join Date
    Dec 1969

    Default RE: Form items

    use the eval() statement:<BR><BR>template = "template" + i; <BR>seeker = eval("document.forms.fdahome." + template + ".value"); <BR><BR>That converts a string into an object reference and should do what you want done<BR>

  3. #3
    Count Dracula Guest

    Default RE: Form items

    it&#039;s saying that document.forms.fdahome.template0.value is not an object.

  4. #4
    Count Dracula Guest

    Default Nevermind

    Thanks Peter for the 411! It is much appreciated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts