标签:
JavaScript focus(); select();
<lable for="gPrice"> <input type="text" value="0.00" name="gPrice" id="gPrice" /> </lable>
var item = document.getElementById(‘gPrice‘); item.focus(); item.select();
标签:
原文地址:http://www.cnblogs.com/whiteking/p/4466798.html