Bitcoin Forum
May 10, 2024, 08:21:58 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitstrapped - Need Help!  (Read 585 times)
BTC Tipster (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100


★Bitvest.io★ Play Plinko or Invest!


View Profile
November 05, 2015, 04:17:43 PM
 #1

Hello,

Can someone help me to implement this code: https://github.com/peterfox/jQuery-Bitstrapped
I want to check wallet address and show its balance on my website.

Anyone?
Thank you.

1715329318
Hero Member
*
Offline Offline

Posts: 1715329318

View Profile Personal Message (Offline)

Ignore
1715329318
Reply with quote  #2

1715329318
Report to moderator
1715329318
Hero Member
*
Offline Offline

Posts: 1715329318

View Profile Personal Message (Offline)

Ignore
1715329318
Reply with quote  #2

1715329318
Report to moderator
Remember that Bitcoin is still beta software. Don't put all of your money into BTC!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715329318
Hero Member
*
Offline Offline

Posts: 1715329318

View Profile Personal Message (Offline)

Ignore
1715329318
Reply with quote  #2

1715329318
Report to moderator
1715329318
Hero Member
*
Offline Offline

Posts: 1715329318

View Profile Personal Message (Offline)

Ignore
1715329318
Reply with quote  #2

1715329318
Report to moderator
1715329318
Hero Member
*
Offline Offline

Posts: 1715329318

View Profile Personal Message (Offline)

Ignore
1715329318
Reply with quote  #2

1715329318
Report to moderator
CrappyJavaScriptDev
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
November 05, 2015, 05:21:49 PM
 #2

This should do the trick. http://codepen.io/anon/pen/JYavjx

A) Include Jquery

B) Include bitstrapped-jquery

C) Add the span element (or whatever else) with an ID.

D)  Insert this code
Code:
    <script>
      $( document ).ready(function() {
        $('#first').on('bitstrapped', function(event, data) {
            if(data) {
                $(this).text(data.final_balance/100000000)
            }
         });
        $().bitstrap({interval:60000});
      });
    </script>

E) Make sure the id in the above script matches the elements id from step C.
BTC Tipster (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100


★Bitvest.io★ Play Plinko or Invest!


View Profile
November 05, 2015, 05:27:44 PM
 #3

This should do the trick. http://codepen.io/anon/pen/JYavjx

A) Include Jquery

B) Include bitstrapped-jquery

C) Add the span element (or whatever else) with an ID.

D)  Insert this code
Code:
    <script>
      $( document ).ready(function() {
        $('#first').on('bitstrapped', function(event, data) {
            if(data) {
                $(this).text(data.final_balance/100000000)
            }
         });
        $().bitstrap({interval:60000});
      });
    </script>

E) Make sure the id in the above script matches the elements id from step C.
Awesome! Thanks alot mate.
Really appreciated.

Can i get your wallet address in my PM, u deserve a tip Wink

CrappyJavaScriptDev
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
November 05, 2015, 05:32:59 PM
 #4

This should do the trick. http://codepen.io/anon/pen/JYavjx

A) Include Jquery

B) Include bitstrapped-jquery

C) Add the span element (or whatever else) with an ID.

D)  Insert this code
Code:
    <script>
      $( document ).ready(function() {
        $('#first').on('bitstrapped', function(event, data) {
            if(data) {
                $(this).text(data.final_balance/100000000)
            }
         });
        $().bitstrap({interval:60000});
      });
    </script>

E) Make sure the id in the above script matches the elements id from step C.
Awesome! Thanks alot mate.
Really appreciated.

Can i get your wallet address in my PM, u deserve a tip Wink

No problem mate. Tips not needed.

Enjoy.
BTC Tipster (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100


★Bitvest.io★ Play Plinko or Invest!


View Profile
November 05, 2015, 05:35:55 PM
 #5

This should do the trick. http://codepen.io/anon/pen/JYavjx

A) Include Jquery

B) Include bitstrapped-jquery

C) Add the span element (or whatever else) with an ID.

D)  Insert this code
Code:
    <script>
      $( document ).ready(function() {
        $('#first').on('bitstrapped', function(event, data) {
            if(data) {
                $(this).text(data.final_balance/100000000)
            }
         });
        $().bitstrap({interval:60000});
      });
    </script>

E) Make sure the id in the above script matches the elements id from step C.
Awesome! Thanks alot mate.
Really appreciated.

Can i get your wallet address in my PM, u deserve a tip Wink

No problem mate. Tips not needed.

Enjoy.
As you wish, Thanks for helping me.
Topic locked.

Regards,
BTC Tipster.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!