Each one it has a realation to the other.

In example. My site use a structure like this.

Country -> City -> Area

So when the Country AJAX finish the Cities that will be loaded will be the 
Cities that are into the selected Country. So the Second AJAX getting the 
selected Country ID to load the Cities with the same country id

The same thing goes for the areas. For the selected City the AJAX load the 
areas that are into this City ! !

In any case this is the way I found to load my relational data.

If there is any better I don't realy have any idea.

The only think is that work fine and fast my AJAX ! !  :D 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to