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

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

js兩個頁面值累加

js兩個頁面值累加

慕萊塢森 2018-08-08 14:15:08
A頁面點擊輸入投資金額點擊確定按鈕后,增加B頁面的投資金額所占比例。進度條用的jqmeter.js 插件:賦值粘貼下面的代碼B頁面代碼:<!doctype html><html><head><meta charset="utf-8"><title>jQuery簡單實用的輕量級進度條插件</title><style type="text/css">    *{padding:0; margin:0;}    h1{text-align:center; margin:60px auto 20px;}    .box{width:700px; margin:0 auto;}</style><script src="http://libs.useso.com/js/jquery/1.11.0/jquery.min.js" type="text/javascript"></script>    <script type="text/javascript" src="js/jqmeter.min.js"></script>    <script type="text/javascript">        $(function(){            $('.jqmeter-container').jQMeter({                goal:'$3,000',                raised:'$1800',                width:'300px',                height:'30px'            });        });    </script></head><body><div class="box">    <div class="jqmeter-container"></div></div></body></html>A頁面:
查看完整描述

1 回答

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

添加回答

舉報

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

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

公眾號

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