mercredi 17 avril 2019

how to call an element in another layer hbs

There two hbs files, one is under another layer, for example, at testA.hbs, it has,

<div>
      
</div> 
<div id="area">
     Hello, world 
</div>

At testB.js, I want to call the id "area" at testA.hbs. How can I achieve this? Thank you.




Aucun commentaire:

Enregistrer un commentaire