<input type=‘button‘ onchange=‘chang(this)‘/>
<script type="text/javascript"> function change(Nchsele) { var txt=$(Nchsele).find(‘option:selected‘).text(); $(‘.chanVal‘).val(txt); }</script>
时间: 2024-10-05 08:11:30
<input type=‘button‘ onchange=‘chang(this)‘/>
<script type="text/javascript"> function change(Nchsele) { var txt=$(Nchsele).find(‘option:selected‘).text(); $(‘.chanVal‘).val(txt); }</script>