【发布时间】:2015-07-31 03:54:16
【问题描述】:
我有基本的 HTML 代码
<div class="w-input-number-change">
<input class="other-select input-number-change" type="radio" data-price="110" data-value="I will supply ___ pages of typed content" name="copy">
I will supply
<input class="other-select input-number-change-value" type="number" data-price="110" data-value="pages of typed content" name="copy" value="1">
pages of typed content.
</div>
我得到值输入类型收音机
$content_radio = $('.input-number-change').data('value');
我会选择输入类型单选,显示“我将提供 _ 页的输入内容”,_ 是输入类型 number 的值。单击输入单选时如何从输入数字显示中获取值?
【问题讨论】:
-
不知道你在找什么
-
你查看示例designquote.net/html/dq_estimate_wizard.cfm主题“复制”
标签: javascript jquery html