On Edit show the tab #tab_tticket2

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.

On Edit show the tab #tab_tticket2

Postby mpol_ch » Sat Jan 13, 2018 12:52 am

Hi,
I am using a table with two "Page labels" of type Accordion.

I want to see the #tab_tticket2 when I click on Edit button to edit the record.

Where should I start?

thanks

mpol_ch
mpol_ch
 
Posts: 584
Joined: Mon Nov 26, 2012 9:56 pm

Re: On Edit show the tab #tab_tticket2

Postby arbei » Sat Jan 13, 2018 12:33 pm

You can add your code in Startup of the Edit page to simulate the click event of the tab 2.

For example:
$("[href='#tab_tticket2'").click();
arbei
 
Posts: 1499
Joined: Wed Sep 09, 2015 10:13 am

Re: On Edit show the tab #tab_tticket2

Postby mpol_ch » Sat Jan 13, 2018 9:07 pm

Hi,

thank you very much.
It works perfectly.

mpol_ch
mpol_ch
 
Posts: 584
Joined: Mon Nov 26, 2012 9:56 pm


Return to General Discussion (PHPMaker)