Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

120
Views
Rendering ID from Javascript file to show in html interface using JQuery

I am trying to show a blockchain address (App.account) at the top right of my HTML by rendering it using Jquery.

JS

 loadAccount: async () => {
       web3.eth.getAccounts().then(function(result){
        App.account = result[0]
        console.log(App.account)
       })'''



render: async() => {
     $('#account').html(App.account)
   }

HTML

    <ul class="navbar-nav px-3">
        <li class="nav-item text-nowrap d-none d-sm-none d-sm-block">
          <small><a class="nav-link" href="#"><span id="account"></span></a></small>
        </li>
      </ul>

I am trying to enter App.account address that i see in console.log and display it on my html where the span tag is identified by account.

Does anyone know why this is not showing on interface?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!