Questions tagged as 'javascript'

2
answers

Message for user in Label with Jquery

I am doing validation of the registered user's email, and I want to display the message to him in case the email already exists, so I did this: //validação de email $(function validateEmail() { $('#Email').change(function () {...
asked by 18.12.2016 / 15:22
2
answers

Hiding a button until 2 inputs are filled

I intend to hide each of the 3 buttons until the 2 inputs on top of each button are filled, I had already tried to do it and it works, but if I try to add more than once it is always visible even with nothing in input <div id="addElemen...
asked by 18.12.2016 / 15:13
1
answer

Gulp Minification

Does anyone know how to minify js and css files at run time. For example: In the Html file, the call to the Javascript file looks like this: <script src="~/Content/Site/js/funcoes.js"></script> I would like a mined scri...
asked by 16.12.2016 / 19:09
1
answer

What is the correct way to assemble interfaces in PHP pages? [closed]

In several projects I've seen there, where database queries are required to get information, and later build tables, I noticed the following approach presented in the code snippet below: <?php while($row = mysql_fetch_array($res)) { ?&g...
asked by 14.02.2017 / 18:14
1
answer

Firebase - Print records in descending order

I can not print the records in descending order. I looked at several websites for tips that could help me, but when I adapt to my code, nothing works! My question is: I'm creating a game on Intel XDK using Firebase as a database and Javasc...
asked by 13.02.2017 / 00:36
1
answer

AngularJS - remove selected items according to checkbox

How do I get the ids of the selected items from the checkbox (es) to send to the backend and then remove it? <a href=""> **O QUE PASSO POR PARAMETRO PARA A FUNÇÃO? ** <i class="material-icons" title="Rem...
asked by 12.02.2017 / 01:48
1
answer

Automating a JS / Jquery function

I'm having a problem automating a function in JS / Jquery. I have the following code: $('.tab-pane').each(function(index, el) { tipo = $(this).attr('id'); $("#owl-carousel-" + tipo).owlCarousel({ loop: t...
asked by 07.12.2016 / 11:48
1
answer

Ajax Request for Controller Spring

I'm developing a system with Spring (Spring Boot) and front-end backend with HTML, CSS (BootStrap) and JavaScript (JQuery). I'm having trouble building an ajax request. Follow the Controller Spring code: @RequestMapping(value = "/vis...
asked by 07.12.2016 / 12:40
1
answer

Google Chart GeoChart does not work in Java

Hello, I'm having a problem while running a Google Map Chart GeoChart in Java ... If it's in a normal .html file, it works, but inside my project with xhtml it does not work. HTML code: <html> <head> <script type=...
asked by 15.12.2016 / 20:23
1
answer

Bootstrap progress bar accompanying youtube video duration

How to make the bootstrap progress bar keep track of the youtube video (iframe) deployed on the html page var player, time_update_interval = 0; function onYouTubeIframeAPIReady() { player = new YT.Player('video-placeholder', {...
asked by 15.12.2016 / 13:14