Questions tagged as 'javascript'

1
answer

Remove object svg

I have the following code that creates a clone of an image. When, for example, you hear 3 clones, delete the last one. Without appearing. example: if (id==3){ //apagar clone/imagem } jsfiddle example: link     
asked by 15.01.2016 / 13:03
1
answer

Background cordova / phonegap

I'm a beginner in the area of creating apps with Cordova, I've looked all over the internet but I did not find any tutorial that explained exactly how to use the background plugin, in all the questions I saw here are the same answers I did not I...
asked by 03.11.2015 / 06:48
0
answers

Duplicate file

I am making a registration for the class Dining and DiningRestaurant. To register Food Food items you have to register for Meal first. The problem is the data is being registered, but since I want to register multiple meals at the same time with...
asked by 14.01.2016 / 03:17
0
answers

Uploading image in an iframe using AJAX

I tried to upload an image via AJAX using iframe, but I have no idea how to render the returned image of the function after upload, follow the code: <form target="frame" action="/painel/empresa/upload" method="post" enctype="multipart/form-...
asked by 18.01.2016 / 20:38
2
answers

How to print in dot matrix printer on the client with a web application?

I have an application made in C # MVC with a routine to print plain text on the default printer. The RawPrinterHelper.SendStringToPrinter method that is described in this article has been used. Printing normally occurs when I run the ap...
asked by 23.10.2015 / 22:43
2
answers

javascript function that calls another javascript function within a while [closed]

I have a problem executing a javascript function that in its scope has a while that according to the counter is incremented, it is called a second javascript function passing as parameter the counter value: function funcaoA(){ var cont = 1...
asked by 01.02.2016 / 11:10
0
answers

2 Flash canvas animations on the same HTML page

I need to put 2 Flash animations on one page, only 1 animation appears, the other one goes blank. I tried 2 "inits" but it did not work. When I was exporting, I libs with different names to avoid conflicts. Has anyone ever had anything lik...
asked by 02.02.2016 / 20:23
1
answer

Help with Mask Policy for numbers with 4 decimal places in AngularJS

I want to make a number directive in angularJS with two features, one to format when entering a number in an html input. Example of how you would like to: 1,200,0000       12.000,0000       120,000.0000 and the other to limit the decima...
asked by 25.02.2016 / 21:31
2
answers

Pass object between views

How could I pass a JSON object between views: angular.module('app') .controller('MeuControle', function($scope) { $scope.listaPessoas = [ { nome: "Patrick", idade: 19 }, { nom...
asked by 25.02.2016 / 23:20
1
answer

How do I create a list that, when I click, calls the function by sending a value?

I'm using Select to pass values to a function in JavaScript.
asked by 21.02.2016 / 14:12