Re: [Rails-spinoffs] Not able to see length in another function

2006-02-13 Thread Todd Ross
On 2/12/06, Kevin Old <[EMAIL PROTECTED]> wrote: > Any ideas what could be causing this? There are two pieces of information missing. 1) How is model defined (the HTML / DOM bit). 2) How is setModel being called? Also of interest ... what browser is causing you problems? Do you have a site we

[Rails-spinoffs] Not able to see length in another function

2006-02-12 Thread Kevin Old
Hello everyone, I have the following code that builds into a . buildModel() is called first, then setModel(). For some reason, I can't get the length of the "model" options in setModel(), but can after they are built in buildModel(); function buildModel(originalRequest, json) { var model =