亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

$( "#spinner" ).spinner( "option", "culture", $( this ).val() )?參數

$( "#spinner" ).spinner( "option", "culture", $( this ).val() )?參數

web_東 2018-04-25 11:07:45
<!doctype html><html><head>? <meta charset="utf-8">? <title>jQuery UI 旋轉器(Spinner) - 貨幣</title>? <link rel="stylesheet" >? <script src="http://code.jquery.com/jquery-1.9.1.js"></script>? <script src="/static/js/jqueryui/resources/demos/external/jquery.mousewheel.js"></script>? <script src="/static/js/jqueryui/resources/demos/external/globalize.js"></script>? <script src="/static/js/jqueryui/resources/demos/external/globalize.culture.de-DE.js"></script>? <script src="/static/js/jqueryui/resources/demos/external/globalize.culture.ja-JP.js"></script>? <script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>? <link rel="stylesheet" >? <script>? $(function() {??? $( "#currency" ).change(function() {????? $( "#spinner" ).spinner( "option", "culture", $( this ).val() );??? });???? $( "#spinner" ).spinner({????? min: 5,????? max: 2500,????? step: 25,????? start: 1000,????? numberFormat: "C"??? });? });? </script></head><body>?<p>? <label for="currency">要捐款的貨幣</label>? <select id="currency" name="currency">??? <option value="en-US">US $</option>??? <option value="de-DE">EUR €</option>??? <option value="ja-JP">YEN ¥</option>? </select></p><p>? <label for="spinner">要捐款的數量:</label>? <input id="spinner" name="spinner" value="5"></p></body></html>
查看完整描述

1 回答

  • 1 回答
  • 0 關注
  • 1468 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號