Bruce,
Thanks for the tip. I do have a basic understanding of this, so I tried a few things. Here are some code snippets I tried in the console of Chrome, that did control the tab:
$("#tab_updatecoincollection_div").tabs("select", 0);
$("#tab_updatecoincollection_div").tabs({"active": 2});
$("#tab_updatecoincollection_div").tabs({active: 0});
However, where to embed this code in my app is the problem. Fields on a form have a onChange (JavaScript) entry on the template where I can place JavaScript code. An image control has an onGenerate entry on the template. I was not able to find a similar entry for tabs though. So, I thought I needed to use p_web.Script(). For example:
p_web.Script('$("#tab_updatecoincollection_div").tabs("select", 0);', 1,0,0)
I'm not sure this is the best way to do this, and the problem is which embed to place this code. I spent a lot of time trying many embeds, with little or no success. Maybe we can have more of these JavaScript entries on the templates? Or, is there an embed where this should be done?
Thanks,
Jeff