1. #1
    Sencha User dekely's Avatar
    Join Date
    Aug 2008
    Posts
    215
    Vote Rating
    3
    dekely is on a distinguished road

      0  

    Default TabPanel problem - load html page with javascript

    TabPanel problem - load html page with javascript


    Hi,

    I'm trying to load html into a tab where the html page contins javascript content.
    the problem is that the javascript is not invoked.
    any ideas?

    Code:
    Ext.onReady(
    
    function(){
    var
    tabs = new Ext.TabPanel({
    renderTo: 'main', width:450, activeTab: 0, frame: true, height: 100, items:[ { title: 'Tab 1', autoLoad:'calc.html' }, { title: 'Tab 2', autoLoad:'tabContent.html' } ] });
    });



    Code:
     
    <HTML>
     
    
    <head>
    <script language="JavaScript" type="text/javascript"> function fun()
    { alert('hi'); } </script> </head>
    <body onload="fun();">
    <script language="JavaScript" type="text/javascript"> alert('hi');
    </script> </body>
    </HTML>
    Best regards,
    Dekel.y
    http://www.puzzlescramble.com

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    86
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Use:
    Code:
    autoLoad: {url: 'calc.html', scripts: true}

  3. #3
    Sencha User dekely's Avatar
    Join Date
    Aug 2008
    Posts
    215
    Vote Rating
    3
    dekely is on a distinguished road

      0  

    Default


    Thanks
    Best regards,
    Dekel.y
    http://www.puzzlescramble.com

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi