[SOLVED] IS THIS POSSIBLE WITH JQUERY???

[SOLVED] IS THIS POSSIBLE WITH JQUERY???

Hi All,

Im trying to make the VALUE element within a form dynamic using JQuery and was wondering if the following is possible and if not what is the way to achive this?

  1. <select name="select1" id="select1" size="1">
    <option value="item_1">Item 1</option>
    <option value="item_2">Item 2</option>
    </select>
    <input type="hidden" name="select1_value" id="select1_value" value="<script>$(document).ready(function(){$(this).text($('#select1').val());});</script>" />




Thanks in advance!!