怎样在js里取得本页面form里面控件的值 document.form.控件.value 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 如果有两个BUTTON 那怎么选中要的那个啊 <input type="submit" value="dfdf" onClick="cc()">在写一个,用两个不就行了吗 <netui:form action="enterProductOrder" style="background-color:#ffffff;"><table width="600" class="wiztable"> <tr> <td class="wizhead" colspan=4> <b>Order Entry Wizard:</b> </td> </tr> <tr> <td class="wizbody" colspan=4>Please enter in the quantity of each product you would like to order: </td> </tr> <data:repeater dataSource="{actionForm.productOrders}" > <data:repeaterHeader> <tr class="wizbody"> <td class="wizbody"> <b>Product ID</b> </td> <td class="wizbody"> <b>Description</b> </td> <td class="wizbody"> <b>List Price</b> </td> <td class="wizbody"> <b>Quantity</b> </td> </tr> </data:repeaterHeader> <data:repeaterItem> <tr class="wizbody"> <td class="wizbody"> <netui:label value="{container.item.product.productID}"></netui:label> <hr> </td> <td class="wizbody"> <netui:label value="{container.item.product.description}"></netui:label> <hr> </td> <td class="wizbody"> ¥ <netui:label value="{container.item.product.listPrice}"></netui:label> <hr> </td> <td class="wizbody"> <netui:textBox dataSource="{container.item.quantityOrdered}" defaultValue="0" size="5"></netui:textBox> <hr> </td> </tr> </data:repeaterItem> </data:repeater> <tr> <td class="wizbodyright" colspan=4> <hr> <netui:textBox dataSource="{request.price}" defaultValue="fgfghgf" tagId="23"/> <netui:select dataSource="{actionForm.productOrders}"></netui:select> <netui:button value="提交定单" /> <br></td> </tr> </table></netui:form> 这是form中的内容 我要得到 textBox 中的内容 怎么取得 用javascript 取 哪位高手帮我写一下 建议用button应为用submit时可能会出现这样的问题,即使做了判断,alert确认后也要继续提交,也就是说return没发生作用。用button的话在js中用document.表单名.submit.submit();方法提交。 求助!css下拉菜单怎么设置能默认显示第一条 求高手 问个简单的问题 struts 1.2 bean:write的问题。 急!利用正则表达式替换图片地址 请问一下关坛论坛,发信息那个东东? [请教]关于Servlet 配置问题 算术表达示字符串的问题,急啊,急啊。高分求救,谢谢 问一个jsp里面bean的问题 如何使用JavaBean? 熟悉freemarker的人请进来!! 大家棒我看看这段代码有什么问题,为什么IF语句好像没有起作用 请教一下我的JB运行struts怎么出错呢,大家帮我看一下这个怎么解决
<table width="600" class="wiztable">
<tr>
<td class="wizhead" colspan=4>
<b>Order Entry Wizard:</b>
</td>
</tr>
<tr>
<td class="wizbody" colspan=4>Please enter in the quantity of each product you would like to order:
</td>
</tr>
<data:repeater dataSource="{actionForm.productOrders}" >
<data:repeaterHeader>
<tr class="wizbody">
<td class="wizbody">
<b>Product ID</b>
</td>
<td class="wizbody">
<b>Description</b>
</td>
<td class="wizbody">
<b>List Price</b>
</td>
<td class="wizbody">
<b>Quantity</b>
</td>
</tr>
</data:repeaterHeader>
<data:repeaterItem>
<tr class="wizbody">
<td class="wizbody">
<netui:label value="{container.item.product.productID}"></netui:label>
<hr>
</td>
<td class="wizbody">
<netui:label value="{container.item.product.description}"></netui:label>
<hr>
</td>
<td class="wizbody">
¥
<netui:label value="{container.item.product.listPrice}"></netui:label>
<hr>
</td>
<td class="wizbody">
<netui:textBox dataSource="{container.item.quantityOrdered}" defaultValue="0" size="5"></netui:textBox>
<hr>
</td>
</tr>
</data:repeaterItem>
</data:repeater>
<tr>
<td class="wizbodyright" colspan=4>
<hr>
<netui:textBox dataSource="{request.price}" defaultValue="fgfghgf" tagId="23"/>
<netui:select dataSource="{actionForm.productOrders}"></netui:select>
<netui:button value="提交定单" />
<br></td>
</tr> </table>
</netui:form>
这是form中的内容 我要得到 textBox 中的内容 怎么取得 用javascript 取
哪位高手帮我写一下
即使做了判断,alert确认后也要继续提交,也就是说return没发生作用。
用button的话在js中用document.表单名.submit.submit();方法提交。