I have to open table based on the query string, i have tried few thing but it doesn't seem to work
http://codepen.io/anon/pen/ygyzLX
if (tabid == "tabD3") {
$('.donate-tab li:nth-child(3)').toggleClass('active');
$('.donate-tab li:nth-child(3) a').trigger("click");
// $('a.#tabD3').trigger("click");
}
$('.donate-tab li:nth-child(3)').toggleClass('active');
higlight the tab but doesn't show the content.
Below code doesn't make any difference
$('.donate-tab li:nth-child(3) a').trigger("click");
// $('a.#tabD3').trigger("click");
I manage to make it work with following script