Forum Discussion

cmpenn's avatar
cmpenn
Contributor
8 years ago

Find and FindChild methods returning functions instead of objects

Working with a dev and unable to see why this keeps happening. We narrowed it down to the find method using the following:     this.GetComboBoxItemByText = function (text) { var thing = th...
  • tristaanogre's avatar
    tristaanogre
    8 years ago

    My guess is that it's because 

    this.GetComboBoxItemByText 

     is assigned to what is returning as the function... but if the function failed, like due to improper parameters, it might just return as the function and not as the result of the function... just my best guess.