I have a iframe in one of the jQuery ui tabs opened which has a button on click of which i need to switch to another tab
I tried using
$( "#tabs" ).tabs( "select" , 1 )
But it seems that I can not access the tabs outside iframe
I have a iframe in one of the jQuery ui tabs opened which has a button on click of which i need to switch to another tab
I tried using
$( "#tabs" ).tabs( "select" , 1 )
But it seems that I can not access the tabs outside iframe
You should tell your function to look at the parent of the iframe
$("#tabs", parent.document.body).tabs( "select" , 1 );