MyException - 我的异常网
当前位置:我的异常网» Java Web开发 » 使用过jquery validate 的朋友请进帮忙解决个有关问

使用过jquery validate 的朋友请进帮忙解决个有关问题~(2)

www.MyException.Cn  网友分享于:2013-01-13  浏览:44次

<div id="nameCodeErrorHint" style="display:none;font-size:12px;color:red;"> 用户名和服务码不匹配</div>
</td>
</tr> 
<tr>
<td>联系方式:</td>
<td>
<input type="text" id="relationMode" name="relationMode" onfocus="javascript:if(hasValidate==true)$('#communicationContainer').show();" readonly="readonly" style="width: 250px;"/>
<input type="hidden" id="commonUserCommunicationId" name="saleLaptop.commonUserCommunicationId" />
</td>
</tr>

<tr>
<td>信息标题:</td>
<td>
<input type="text" name="saleLaptop.title" size="32"/>
</td>
</tr>
<tr>
<td>上传图片:</td>
<td>
<div id="browseBtn"><input type="file" name="fileupload" id="fileupload" /></div>
<div id="fileQueue"></div>
<p style="display: none;">
<a href="javascript:;" onClick="javascript:uploadifyUpload()">开始上传</a>&nbsp;
<a href="javascript:jQuery('#fileupload').uploadifyClearQueue()">取消所有上传</a>
</p>
<div class=files style="margin-left: 0px; background-color: #F0F8FF;"></div>
</td>
</tr>
<tr>
<td>主机品牌:</td>
<td>
<input id="brand" name="brand" type="text" size="20" value="" readonly="readonly" onclick="javascript:$('#brandDiv').show();">
</td>
</tr>
<tr>
<td colspan="2">
<div id="brandDiv" style="display: none;border: 1px solid black;background-color: white">
<table>
<tr>
<td colspan="3" align="left"><a href="#" onclick="javascript:$('#brandDiv').hide();">关闭</a></td>
</tr>
<c:set var="i" value="0" />
<c:forEach var="myBrandList" items="${myBrandList}" varStatus="status">
<c:if test="${status.index%3==0}">
<tr>
</c:if>
<c:set var="i" value="${i+1}" />
<td><input id="brandRadio_${myBrandList.id}" type="radio" name="saleLaptop.brandId" value="${myBrandList.id}" onclick="choseBrand(this);"><span id="brand_${myBrandList.id}"><label for="brandRadio_${myBrandList.id}">${myBrandList.brandName}</label></span></td>
<c:if test="${i%3==0}"> <%--控制一行输出多少个 --%>
</tr>
<c:set var="i" value="0"></c:set>
</c:if>
</c:forEach>
</table>
</div>
</td>
</tr>
<tr>
<td>CPU系列:</td>
<td>
<select name="saleLaptop.laptopCPUSeriesId">
<option value=""></option>
<c:forEach var="myCpuSeriesList" items="${myCpuSeriesList}">
<option value="${myCpuSeriesList.id}">${myCpuSeriesList.named}</option>
</c:forEach>
</select>
</td>
</tr>
<tr>
<td>CPU型号:</td>
<td>
<input type="text" name="saleLaptop.cpuType"> 

文章评论

软件开发程序错误异常ExceptionCopyright © 2009-2015 MyException 版权所有