0
콘솔에 따르면 모든 것이 제대로 작동하므로 내 유일한 문제는 콘솔이 올바르게 설정되었음을 나타내는 html이 첫 번째 이후에만 표시된다는 것입니다. ") 이벤트이면 모든 후속 이벤트가 발생하고 html이 올바르게 설정되지만 이상하게 표시되지는 않습니다.HTML이 올바르게 설정되었지만 표시되지 않습니다.
의미 탭을 누르지 않으면 클릭 한 각 탭에 대한 오류 메시지가 표시됩니다.
무엇이 누락 되었습니까?
$("#issuesandsettings a").on("click", function(event)
{
event.preventDefault();
console.log("Fire");
if ($(this).html() == $("#issuesandsettings").find(".submenu").children("li").children("a").eq(0).html())
{
$("#panel").css("margin-left", "0px");
$("#issuesandsettings").css("float", "left");
}
else
{
console.log("And a miss");
$("#error2").html("Oops, that isn't the Issues or Settings tab!");
console.log($("#error2").html());
setTimeout(function()
{
$("#error2").fadeOut("slow");
},1567);
}
});
그게 다야, 고마워! :) – LSD