working with objects

Results 1 to 2 of 2

Thread: working with objects

  1. #1
    Join Date
    Dec 1969

    Default working with objects

    I have a number of objects which follow the syntax of : <BR><BR>document.frmIPS.startdate0<BR><BR>to<BR><B R>document.frmIPS.startdate20<BR><BR>I am passing the object into a function<BR><BR>myfunction(myobject)<BR>{<BR> // do stuff<BR>}<BR><BR>Now if I wanted to return the value of "myobject" I would do myobject.value. but what if I wanted to find out the object name from "myobject" so that I could determine whether it were startdate 0 or startdate1 etc etc how can I manipulate the object name to extract this information.<BR><BR>Hope I have explained myself and you can enlighten me on this subject

  2. #2
    Join Date
    Dec 1969

    Default RE: working with objects

    You mean:<BR><BR><BR><BR>?<BR><BR>Craig.

Posting Permissions

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