Questions tagged as 'javascript'

1
answer

Cookies or Session by JavaScript

I'm working on a project, and the backend (java) is completely separate from the front-end , and they communicate with REST . > My question is, let's start working in the authentication area, and was wondering if you can control authenticatio...
asked by 02.07.2014 / 19:48
2
answers

Background image causes the page to flash when loaded

I'm creating a site by loading any of the 6 pages of a category on the site that each have a background image averaging 40-70kb, the area where the image is flashing. The page always blinks when you click or refresh the page, what can I do?    ...
asked by 27.06.2014 / 22:43
2
answers

JSON does not accept accent

Friends, I have a problem, the string that has an accent can not get it using JSON: $imagens = array(); $sql = mysql_query("SELECT * FROM texto_index"); while ($row = mysql_fetch_row($sql)){ $imagens[] = $row; } echo json_encode($imagens...
asked by 01.07.2014 / 18:13
1
answer

How to remove events associated with elements via ".on ('action'"

I have a modal of bootstrap that I use to register / login cadastroModal , but at the end of the request, I am reusing it to request the login and for this I added an event in onHiden , but I can not remove it after the call,...
asked by 08.07.2014 / 15:00
2
answers

How to disable and enable onclick with JQuery

Hello. I'm doing a little college job where a kid needs to click on the wrong picture in a group with 3 other pictures. When clicking on one of the images, it receives feedback if that is the right message or not, a button appears to display the...
asked by 30.04.2018 / 16:04
2
answers

.replace () on jQuery object

Good afternoon everyone. I must say at the beginning that it is my first question here. I usually just read the questions of others, but I do not find a solution to this problem anywhere on the internet. I have a code that takes a value fr...
asked by 24.04.2018 / 21:22
3
answers

Hide div, display only in home

How do I hide / remove the slider and the banner below it with JavaScript? I need him to stay home only, but he's repeating in every department of the site .     
asked by 01.07.2014 / 18:45
3
answers

Audio API to calculate the duration of several songs

I'm working on an player and I need to know how to calculate the length of multiple MP3s that are selected on the user's machine by a input of type file ? EDIT: Follow my current code and it does not return the correct val...
asked by 10.09.2014 / 22:05
1
answer

Integrate application nodejs to php site on different servers?

How can I integrate a chat application hosted in Heroku to my PHP project on another server? The application is simple and does not use bank, the idea would be that in PHP when doing login automatically in Heroku the user enters the chat...
asked by 09.09.2014 / 08:34
1
answer

Specific doubt using non-angular ng-repeat

I'm using AngularJS in a project where I need to display a list of photos of products registered in the system and my html looks like this: // Titulo para a área de produtos <div class="header-products"> <h3>Produtos</h...
asked by 18.09.2017 / 21:45