Jul 23, 2009, 12:05 PM
Calling js function inside a child tab
Lo.
First great job for the .8 release, lot of cool stuff in it :)
I'm basically using the same stuff than the exemple explorer, with a menu that lets me dynamically add tabs to a tabpanel.
Let's say that the logic is in Default.aspx, and that i'm opening Page1.asp, Page2.aspx inside tabs (AutoLoading), in which u can find somrthing like that :
I can get the relevant tab easily, and thought I could do something by getting the frame, but I can't :/
Any help would be appreciated.
First great job for the .8 release, lot of cool stuff in it :)
I'm basically using the same stuff than the exemple explorer, with a menu that lets me dynamically add tabs to a tabpanel.
Let's say that the logic is in Default.aspx, and that i'm opening Page1.asp, Page2.aspx inside tabs (AutoLoading), in which u can find somrthing like that :
<script type="text/javascript">
function foo(){
alert('bar');
}
</script>
Now I can' seem to find a way to call 'foo()' from Default.aspx.I can get the relevant tab easily, and thought I could do something by getting the frame, but I can't :/
Any help would be appreciated.