61,128
社区成员




<tr>
<td class="tdStyleR">
<input id="mobileid" type="text"
onblur="mobileCheck1(this,document.form.spaninfomobile)"/>
<span id="spaninfomobile"></span>
</td>
</tr>
<tr>
<td class="tdStyleR">
<input id="mobileid" type="text"
onblur="mobileCheck1(this,document.getElementById('spaninfomobile'))"/>
<span id="spaninfomobile"></span>
</td>
</tr>
或者在mobileCheck1中直接获取
function mobileCheck1(obj)
{
var spanObj = document.getElementById('spaninfomobile');
...
}