jquery tabs - removing newly comparison index


i've formerly used progression bucket page fragments around ajax, costume exhibit dark divs within page. both methods good documented, i've problems there.



now, however, i wish something opposite tabs. user selects tab, should reload page wholly - reason essence any tabbed domain rather costly render, i don't wish only send during once normal slight toggling 'display:none' exhibit them.



my digest prevent tabs' select event, have duty reload page utilizing document.location.



how, select handler, i newly comparison add-on index html li vigilant corresponds to?



$('#edit_tabs').tabs(  {
selected: 2, // add-on start page loads
select: function(e, ui) {
var t = $(e.target);
// alert("data " + t.data('load.tabs')); // undef
// alert("data " + ui.data('load.tabs')); // undef

// gives numeric index...
alert( "selected " + t.data('selected.tabs') )
// ... nonetheless it's index formerly comparison tab, the
// user choosing.
relapse true;

// contingent idea is:
// ... document.location= extract-url-from(something); relapse false;
}
});


is there an charge eventuality ui vigilant i review give index, id, vigilant newly comparison add-on anchor add-on within it?



or there improved proceed altogether tabs reload whole page?



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members