当创建ul和标签时,动态崩溃标签不起作用。代码如下: -
folderName += folderName = "<li class=\"list\">" +
"<a href='#' onClick='getRequirementFolderlist(\"" + data[i].foldername + "\");'><i class='fa fa-folder'></i>" + data[i].foldername +
"<span class='fa arrow'></span></a>" +
"<ul class='nav nav-third-level' id ='" + folderList + "'></ul></li>";
}
prevFolder = nextFolder;
}
$("#requirement-list").html(folderName);
答案 0 :(得分:0)
您应该在动态放置html后初始化崩溃。
请参阅下面的代码
0000000000000000 <_start>:
0: 48 31 c0 xor %rax,%rax
3: 48 89 c6 mov %rax,%rsi
6: 48 89 f7 mov %rsi,%rdi
9: 48 89 fa mov %rdi,%rdx
c: 49 89 d0 mov %rdx,%r8
f: 4c 89 c1 mov %r8,%rcx
12: 48 89 cb mov %rcx,%rbx
15: eb 29 jmp 40 <gg>
17: 90 nop
18: 90 nop
19: 90 nop
1a: 90 nop
1b: 90 nop
1c: 90 nop
1d: 90 nop
1e: 90 nop
1f: 90 nop
0000000000000020 <p2>:
20: 2f (bad)
21: 62 (bad)
22: 69 6e 2f 73 68 00 00 imul $0x6873,0x2f(%rsi),%ebp
...
35: 00 00 add %al,(%rax)
37: 00 90 90 90 90 90 add %dl,-0x6f6f6f70(%rax)
3d: 90 nop
3e: 90 nop
3f: 90 nop
0000000000000040 <gg>:
40: 48 31 c0 xor %rax,%rax
43: 48 8d 3d d6 ff ff ff lea -0x2a(%rip),%rdi # 20 <p2>
4a: 48 8d 77 08 lea 0x8(%rdi),%rsi
4e: 48 8d 57 10 lea 0x10(%rdi),%rdx
52: b0 3b mov $0x3b,%al
54: 0f 05 syscall