Posts by chagas • 66 points
3 posts
-
1
votes3
answers608
viewsA: Value of an input of type number
The problem is because you are stored input data before filling them in. The correct is to run inside the event callback, so you will have the data you filled in. You could put var vProduct =…
-
2
votes5
answers7507
viewsA: Change function of onclick
I particularly try to write reusable, optimized and easily maintained codes (unfortunately it is not always possible!). The benefits are obvious: you can just copy and paste anywhere it will work.…
-
2
votes1
answer53
viewsA: Firebase Cloud Messaging with $cordovaPush, how to work also for iPhone?
From what I understand you need to pass the settings according to the platform. So you need to check if it is IOS/Android and then pass the parameters to the $cordovaPush.register. For this you can…