js怎么取到span标签里的<%= __('Toronto')%> ,我用innerHTML取不出来
<divclass="city"><labelid="la2"><inputtype="radio"name="radioName"id="radioName2"hidd...
<div class="city">
<label id="la2">
<input type="radio" name="radioName" id="radioName2" hidden/>
<label for="radioName2" class="radio-beauty"></label>
<span class="radio-name" id="city2"><%= __('Toronto')%> </span>
</label>
</div> 展开
<label id="la2">
<input type="radio" name="radioName" id="radioName2" hidden/>
<label for="radioName2" class="radio-beauty"></label>
<span class="radio-name" id="city2"><%= __('Toronto')%> </span>
</label>
</div> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询