Posts by Tales Born • 97 points
15 posts
-
0
votes2
answers118
viewsQ: Problems with ng-repeat
I have a problem in ng-repeat, can help me please? Php code public function listar_extras() { $data = json_decode(file_get_contents("php://input")); $tamanho = $data->tamanho; $sPizza =…
-
-1
votes1
answer545
viewsA: control forward and back from browser
You guys, I figured it out: $(document).unbind('keydown').bind('keydown', function(event) { var doPrevent = false; if (event.keyCode === 8) { var d = event.srcElement || event.target; if…
-
0
votes1
answer545
viewsQ: control forward and back from browser
I need to make the system not allow moving forward or backward when pressed to Backspace, someone can help me please? Look forward to!
-
0
votes3
answers350
viewsA: Data of an Array
$scope.horariosFormatados = []; for (var x = 0; x < $scope.horarios.length; x++) { var nome = ''; var existe = false; for (var i = 0; i < $scope.horarios.length; i++) { if…
-
0
votes3
answers350
viewsQ: Data of an Array
I’m having a little bit of a problem here, the logic I should use for this kind of procedure is a bit complicated. Well, here’s the thing: I have an array with the following data: var dados = […
-
0
votes3
answers117
viewsA: Function on the hyperlink
I managed to fix it, just assign the command ev.preventDefault(); soon after creating the check() function, thanks for your help and for having devoted your time in this Ipino hahah hugs…
-
2
votes3
answers117
viewsQ: Function on the hyperlink
I am running a function on the hyperlinks of my system, as shown in the code below: <md-menu-item ng-repeat="insumo in insumos"> <a href ng-click="verificar('mostrarInsumos',…
-
1
votes0
answers68
viewsQ: Reload, Hyperlink
Hi, I’d like to know how to get the message from window.onbeforeunload without the option of Prevent this page from creating additional dialog boxes, for all ways to exit the page with for example,…
-
0
votes1
answer162
viewsQ: Font-size Responsive
I need a help to adjust a detail on the client site, because I’m generating some cards on the screen when registered, but as the screen resolution is not good, so, I come here to ask for your help…
-
0
votes1
answer423
viewsQ: Links in Angular
I’m having some headaches, because I need to create a function to validate when the link should redirect to the place or when it should not for example if I am loading an image and it click the link…
-
1
votes2
answers293
viewsA: Change System Logo
Guys, I found a solution here, so I do not need to give the page the Reload, masss has a single problem, can not be added an image with the name that will always be the same (eg:logo.png) the folder…
-
4
votes2
answers293
viewsQ: Change System Logo
I am creating in a system that I am developing for our client, a function where it allows the same to upload the logo and cut the same, then when it saves I am trying to load the image that was…
-
0
votes0
answers37
viewsQ: Cannot read Array data
I’m having problems in the code below is not able to read the value $Scope.ids[i]. id, follows code: $scope.carregarEnderecos = function (id) { $scope.repeateEnderecos = []; $http.post(url_sistema +…
-
0
votes1
answer1230
viewsQ: How to know what the current $Location is
How do I validate when there is a change on the screen and the user clicks another hyperlink to exit the screen, the same can not allow. Is there any ready angular function that performs this check?…
-
0
votes1
answer1107
viewsQ: Working with Factory
I am developing a system for a snack bar, where she will have to register the cities and within the cities the neighborhoods with their due freight, the problem is occurring the first time that…