<input name="SN" id="searchSN" style="100%" type="text" class="easyui-textbox filewidth_n" value="@Model.SN" data-options="required: true, validType:['length[0,64]']" />
js: $("#searchSN").focus(); easyui : $('#searchSN').next('span').find('input').focus();