Keith,
via jQuery Forum http://forum.jquery.com/topic/options-same-for-multiple-widgets#14737000004533481
My code is 1300 lines long, so that is not really an option through this interface. The short answer to your question of "why..." is that it's the only way I understand how to do it. Here is the problem: imagine a user interface that must collect or display a very large amount of data. Fortunately, the data can be broken into many groups (tabs), each of which can contain another set of tabs, etc. Right now my application has five levels of tabs. So the code at the top level gets a set of parameters that define its tabs and for each of those, the selector that is at the top of that level. And this can recurse up to five levels deep.
My test program only takes it to two levels, and the top level works pretty well, but I cannot create the next level down. I haven't debugged it yet, but I suspect that the problem relates to how memory is allocated to widgets and I don't fully understand that. Your book shipped today, so I hope I will have the answers by this weekend. In the mean time, any light you can shed?
via jQuery Forum http://forum.jquery.com/topic/options-same-for-multiple-widgets#14737000004533481
0 التعليقات: