View Full Version : How to list every panel in a tabpanel?

24 Oct 2010, 11:22 PM
I want to list every panel in my tabpanel with id and title.... I'm adding panels dinamically in my app. and I wanto to post id and title with other data....


24 Oct 2010, 11:34 PM

Iterate through?


24 Oct 2010, 11:35 PM
Hmm.. that link showed up a bug in the docs!

I meant the items property, not the config.

25 Oct 2010, 10:51 PM
Perfect, I've solved with MyPanel.each() . Now I can iterate through my elements and every items property, how about to send data with a single ajax request? What is useful an array or something else? I've to send ids and titles with other data in my form.