日期:2014-05-17 浏览次数:20723 次
<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>
function mobileCheck1(obj)
{
var spanObj = document.getElementById('spaninfomobile');
...
}