0
Can you give me a basic example of how it’s done in the image below?
I need to nest the information obtained through the function obter_conta_me
across of this code(click here), before the line $('[name="id"]').val(tbl_lancamento.id);
0
Can you give me a basic example of how it’s done in the image below?
I need to nest the information obtained through the function obter_conta_me
across of this code(click here), before the line $('[name="id"]').val(tbl_lancamento.id);
3
Very simple, just declare an object inside another.
var conta = {
ag: '0000',
banco: {
cod: 033,
id: 9,
nome: 'Santander'
}
}
Simple documentation: https://www.w3schools.com/js/js_objects.asp
Thanks for the return!!
Browser other questions tagged javascript
You are not signed in. Login or sign up in order to post.
It looks better for people who can help you if there is code instead of image. And how is it done what? It is not clear to me what you want..
– BrTkCa
@Lucascosta, I’ve updated the code, you can help me now ?
– Wagner Fillio