Questions tagged as 'javascript'

0
answers

Compare the number of occurrences of an Array in JavaScript dynamic fields before submitting form data

How can I compare the number of Array occurrences in JavaScript dynamic fields before submitting form data. I need to check that both are the same. I can do only after sending with the count function of PHP , but I would like to know if the...
asked by 10.05.2016 / 20:44
0
answers

Buttons in the mobile version do not work

Good morning, I have a finished website, it works perfectly on the desktop, but in mobile mode, all the buttons do not work, the side menu is perfect, but the buttons on the pages that do not work. I am using these commands for the buttons: &l...
asked by 10.05.2016 / 17:22
0
answers

Postcards with background image and dynamic text in php, for emailing [closed]

Good afternoon, I will need to make a web page where a user chooses a background image and then in a text box adds text and finally can send it by email. Type of birthday christmas postcard etc. Does anyone know how to tell some tutorial with...
asked by 30.05.2016 / 16:28
1
answer

How to pass null value via json_encode

How can I pass a json from php to jquery with null values. I have the structure below: $data1 = null; $data2 = null; $data3 = null; json_encode(array( 'html'=>$html, 'data1'=>$data1, 'data2'=>$data2, 'data3'=>$da...
asked by 30.05.2016 / 19:10
0
answers

A transition affects the opacity of the other by resetting 'globalAlpha' on the canvas

I'm making a game and I'm currently building a screen where I would have a fade in ( fade in >) and, after it's finished, I'd start another opacity transition. The problem is when the first transition ends and the other begins, as the first tr...
asked by 29.05.2016 / 03:31
0
answers

Text file in .js was encrypted

I'm working on a .js file format in Visual Studio 2015, I opened this same file with Visual Studio Code and saved it, now when I try to open this file again the same appears coded. Does anyone know what happened and how to decode? An excerpt...
asked by 28.04.2016 / 21:30
4
answers

Problems with Input AngularJS

I have a problem with my application. When I use ng-repeat of angularJS to create a table, and in that table there is input , and in that field input , it is filled with a value. It also has a SAVE button, where i...
asked by 22.04.2016 / 21:23
1
answer

How to protect access tokens in a Web application?

I have an application in AWS and to access it I need to pass an access token and an SSID. To access the AWS application I have a site , however the keys are written in the HTML code, and anyone accessing the source of the site can see the key...
asked by 04.05.2016 / 13:41
1
answer

JQUERY - Send selected value to the input value

I have following code: <script type="text/javascript"> $(function() { $("#search").keyup(function() { var pesquisa = $(this).val(); if (pesquisa != '') { document.getElementById('search...
asked by 05.05.2016 / 04:21
1
answer

Change email destination when clicking a select option on a form

Well, I have a form and I need it when selecting a select option to change: 1 line - action 2 line - value 3 line - value 15 line - Change where this is written sendOrca2 for eg enviaOrca1 <form id="formulario2" name="formulario2" me...
asked by 04.05.2016 / 00:32