Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>1) I don't find any price value in your code.<br> 2) But I think, you're trying to display the value of <strong><code>select</code></strong> element in the <strong><code>textbox</code></strong></p> <p><strong><code>.val()</code></strong> Here I used to get the <strong>current value</strong> of the selected option/textbox.</p> <p><strong><code>change</code></strong> Here I have binded the <code>change</code> event with <strong><code>.on()</code></strong> event Handler attachment like</p> <pre><code>$('select').on('change', function(){ $('#pricetwo').val($(this).val()); }); </code></pre> <p>Here is the <a href="http://jsfiddle.net/A8Nxp/356/" rel="nofollow"><strong>JSFiddle</strong></a></p> <p><strong>Updates:</strong> The value of option, need not to be same as innerHTML.</p> <p>so change the select values like this</p> <pre><code> &lt;option value=""&gt;---&lt;/option&gt; &lt;option value="1"&gt;00/01&lt;/option&gt; &lt;option value="2"&gt;01/02&lt;/option&gt; &lt;option value="3"&gt;02/03&lt;/option&gt; &lt;option value="4"&gt;03/04&lt;/option&gt; &lt;option value="5"&gt;04/05&lt;/option&gt; &lt;option value="6"&gt;05/06&lt;/option&gt; &lt;option value="7"&gt;06/07&lt;/option&gt; &lt;option value="8"&gt;07/08&lt;/option&gt; &lt;option value="9"&gt;08/09&lt;/option&gt; &lt;option value="10"&gt;09/10&lt;/option&gt; &lt;option value="11"&gt;10/11&lt;/option&gt; &lt;option value="12"&gt;11/12&lt;/option&gt; &lt;option value="13"&gt;12/13&lt;/option&gt; </code></pre> <p>Here is an <strong><a href="http://jsfiddle.net/A8Nxp/358/" rel="nofollow">updated fiddle</a></strong></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload