Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var fieldNas = $('#nascimento'),
- fieldNome = $('#nome'),
- fieldCpf = $('#cpf');
- chrome.runtime.onMessage.addListener(function (request, sender, response)
- {
- fieldNome.val( request.nome );
- fieldCpf.val( request.cpf );
- });
- fieldNas.val( request.nascimento ); // se eu colocar um valor fixo preenche na nova tab
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement