Posts by Cleyton Brasil • 46 points
5 posts
-
0
votes2
answers145
viewsA: Rails 5: Iugu and recurring payment
Fernando this part of recurring is very quiet. You should use Iugu::Subscription.create, just pass the data of the plan you want to associate and that’s it.. Yugu will create the recurring…
-
0
votes1
answer65
viewsA: How do I bring a select of values defined in a Controller in angular.js?
Hello I think I understand what you need. I think it’s pretty quiet to do. To be cool you just need to use the filter function to find the item you want to register from the initial array. I’ll put…
-
0
votes2
answers514
viewsA: Sum values with Angularjs
It’s very quiet to do what you need. In Javascript to work with float values is nice you convert the value. Note: The values must be using the . and not a , the ideal would be that its value is…
angularjsanswered Cleyton Brasil 46 -
2
votes3
answers354
viewsA: on('change') shoot every click
It is very simple to do this action, I will explain briefly how the events related to mouse, ex:click or change. Whenever using a Jquery event the framework itself puts in the callback…
jqueryanswered Cleyton Brasil 46 -
1
votes2
answers2173
viewsA: Pick data-attribute from a selected option by clicking on button
is very simple, I always like to use $("#field option:Selected") and to take another attribute from the option use . attr("attribute"). $(function() { $("#botao").on("click", function() { var valor…