go here: http://jqueryui.com/demos/tabs/
click on "Methods" tab. read about the 'URL' method. presumably, your product_add.cfm page adds a product using ajax post? if so, the callback function should receive the id of newly added product and then call the url() method on the other tabs (and maybe load() method as well - can't remember now if just setting a new url reloads the tab or not...) your url(0 method calls will look like this: $("#productAdmin").tabs('url', 1, 'productBuilder-Categories.cfm?id='+id); Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 02/06/2009 09:44, Will Tomlinson wrote: > I'm using jQuery Tabs to rebuild my ancient product admin. Trying to slicken > it up a bit. As a product is added, I need the tab .cfm's, and the parent to > pass around the prod ID variable to each other. > > The tabs I'm using: http://docs.jquery.com/UI/API/1.7/Tabs > > I have a parent page that contains the tabs (disabling 2nd-5th tab until a > product is added: > > tabs.cfm > > <script> > $(document).ready(function() { > $("#productAdmin").tabs({ disabled: [1, 2, 3, 4] }); > > }); > </script> > > <div id="productAdmin"> > <ul> > <li><a href="product_add.cfm"><span>Product Info</span></a></li> > <li><a href="productBuilder-Categories.cfm"><span>Categories</span></a></li> > <li><a href="productBuilder-Skus.cfm"><span>SKUS</span></a></li> > <li><a href="productBuilder-SuggestedProducts.cfm"><span>Suggested > Products</span></a></li> > <li><a href="productBuilder-prodImage.cfm"><span>Images</span></a></li> > </ul> > > If someone is using the product info tab, and they add a product, how could I > let the parent, tabs.cfm know, and enable the other tabs at that point. > > Thanks, > Will > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323064 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4