PDA

View Full Version : problem with tabpanel



redy
8 Mar 2007, 11:15 PM
In my project when i click on a link a new tabpanel will occur in that tab panel java script is not working

i am ussing setUrl() method of the content panel.

Please Help me its very Urgent.

Thanks in advance

JeffHowden
8 Mar 2007, 11:23 PM
Do you mean that JavaScript contained in the page you're requesting via setUrl() isn't working? If that's the case, then I suspect there's a loadScripts config option you can use when calling setUrl() that'll cause any scripts in the returned page to be executed.

redy
8 Mar 2007, 11:55 PM
Do you mean that JavaScript contained in the page you're requesting via setUrl() isn't working? If that's the case, then I suspect there's a loadScripts config option you can use when calling setUrl() that'll cause any scripts in the returned page to be executed.

i'm sorry i could't get you can you be bit more clear

im posting you my code plz help me

regPanel=new YAHOO.ext.ContentPanel('center2', {title: 'Register', closable: false});
layout.add('center', regPanel);

registerShow: function(){
tabPanel.unhideTab('center2');
tabPanel.activate('center2');
regPanel.setUrl("merchant_signup.jsp", null, true );
regPanel.getUpdateManager();
regPanel.refresh();

}

if u can correct my code please correct it

i will be very thank full to u

redy
9 Mar 2007, 12:46 AM
Please help me Waiting for your reply JeffHowden

redy
9 Mar 2007, 6:15 AM
Please Help me its very important to me.....