29 lines
565 B
JavaScript
29 lines
565 B
JavaScript
$(document).ready(function() {
|
|
tabs();
|
|
search();
|
|
load_list(1);
|
|
});
|
|
|
|
function search(){
|
|
$("#btn_impressum").click(function(){
|
|
alert('abc');
|
|
$('#contentframe').load('./?page=impressum', function(){
|
|
|
|
});
|
|
$(this).tab('show');
|
|
});
|
|
}
|
|
|
|
function tabs(){
|
|
$("#tabs_user_list a").click(function(){
|
|
load_list($(this).attr('filter'));
|
|
$(this).tab('show');
|
|
});
|
|
}
|
|
|
|
|
|
function load_list(filter){
|
|
$('#contentframe').load('./?page=get_list&filter=' + filter, function(){
|
|
|
|
});
|
|
} |