Код: Выделить всё
[list]
[*][url=#]People[/url]
[*][url=#]Jobs[/url]
[*][url=#]Location[/url]
[/list]
Looking For
[list]
[*][url=#]Student[/url]
[*][url=#]Teacher[/url]
[*][url=#]Institue[/url]
[/list]
Brief format
[list]
[*][url=#]Brief format[/url]
[*][url=#]Detailed format[/url]
[*][url=#]Citesummary[/url]
[*][url=#]LaTeX (EU)[/url]
[/list]
Brief format
[list]
[*][url=#]Brief format[/url]
[*][url=#]Detailed format[/url]
[*][url=#]Citesummary[/url]
[*][url=#]LaTeX (EU)[/url]
[/list]
Код: Выделить всё
$('#jobs').hide();
$('#locations').hide();
$('#search_location').hide();
$('#myTab a').click(function (e) {
e.preventDefault();
if (!($(this).attr('id') == 'pep')) {
$('#search_location').hide();
$('#search_value').show();
$('#people').show();
$('#jobs').hide();
$('#locations').hide();
}
$(this).tab('show');
})
$('#myTab b').click(function (e) {
e.preventDefault();
if (!($(this).attr('id') == 'job')) {
$('#search_location').hide();
$('#search_value').show();
$('#jobs').show();
$('#people').hide();
$('#locations').hide();
}
$(this).tab('show');
})
$('#myTab c').click(function (e) {
e.preventDefault();
if (!($(this).attr('id') == 'loca')) {
alert('Hi');
$('#search_location').show();
$('#search_value').hide();
$('#locations').show();
$('#jobs').hide();
$('#people').hide();
// }
$(this).tab('show');
})
Что я делаю не так?
Подробнее здесь: https://stackoverflow.com/questions/415 ... -be-firing
Мобильная версия