<ul class="header">
<li class="header-text">Head1</li>
<li class="header-text"><a href="#">line11</a></li>
<li class="header-text"><a href="#">line12</a></li>
<li class="header-text"><a href="#">line13</a></li>
<li class="header-text"><a href="#">line14</a></li>
<li class="header-text"><a href="#">line15</a></li>
<ul>
<ul class="header">
<li class="header-text">Head2</li>
<li class="header-text"><a href="#">line21</a></li>
<li class="header-text"><a href="#">line22</a></li>
<li class="header-text"><a href="#">line23</a></li>
<li class="header-text"><a href="#">line24</a></li>
<li class="header-text"><a href="#">line25</a></li>
<ul>
单击“ul”时,我需要输出为“Head1”或“Head2”,仅此而已