How are you calling the function ajustaCpf()?
ajustaCpf()
If you are calling it inline from popup.html, then it's not allowed in a chrome plugin.
inline
popup.html
You would need to move the handler to your magica.js file.
magica.js
Issue I am referring to: stackoverflow.com/questions/363243...
If that doesn't help try and post your code on github so I can take another look.
Thanks a lot!!
Yes, I was doing it inline:
<button onClick="ajustaCpf()" class="button" >CPF</button>
I'll try what you referred. Sooner or later we'll talk again.
;)
It worked! Thanks a lot for your help!!
Keep the good work!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
How are you calling the function
ajustaCpf()
?If you are calling it
inline
frompopup.html
, then it's not allowed in a chrome plugin.You would need to move the handler to your
magica.js
file.Issue I am referring to: stackoverflow.com/questions/363243...
If that doesn't help try and post your code on github so I can take another look.
Thanks a lot!!
Yes, I was doing it inline:
I'll try what you referred. Sooner or later we'll talk again.
;)
It worked!
Thanks a lot for your help!!
Keep the good work!
;)