Object properties

Results 1 to 3 of 3

Thread: Object properties

  1. #1
    Dan Evans Guest

    Default Object properties

    Anyone have a function for display all visible properties/methods for a particular Object? I saw one a while back that simply used the brute force method of trying every possible combination of letters but that&#039;s clearly impractical. <BR><BR>Anyone have any (as my old lecturer used to say) sexy code?<BR><BR>Cheers,<BR><BR>-Dan Evans

  2. #2
    Join Date
    Dec 1969

    Default RE: Object properties

    for(i in object) {<BR> alert(object[i]);<BR>}<BR><BR>unforunately, this is only properties, not methods.<BR><BR><BR>(sorry hit tab and enter by mistake on last one)<BR><BR>j

  3. #3
    Dan Evans Guest

    Default Cheers

    That&#039;s half the problem done anyway :o)<BR><BR>Much appreciated,<BR><BR>-Dan Evans

Posting Permissions

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