Questions tagged as 'front-end'

1
answer

problem with Jquery-Mask

I have a problem creating a mask for a field that should receive both a cpf and a cnpj it works normal since the user does not copy and paste the cnpj, when it copies the cpnj to the blank field it does not come complete but if you select what i...
asked by 30.11.2017 / 13:48
1
answer

Database result in inputText

I'm developing a web application in JSP and would like to get the maximum code of the products registered in the database and put in the text field. <input type="text" name="codigo" id="codigo"/> But I can not. Here's my JSP:...
asked by 25.10.2017 / 02:21
3
answers

How to get JSON data

I made a list in JSON with the name of list_json.js and put it in the head of HTML, however I would like to get it in body , the codes work on the console but I can not print on the screen, what am I doing wrong? <!DOCTYPE html> <h...
asked by 29.04.2017 / 18:01
1
answer

Select only ONE checkbox with vanilla javascript and bootstrap 4

I have the following code that generates the form printed on the image ... <div class="form-check form-group" id="areaTermosCondicoes"> <input type="checkbox" id="accept-term" class="form-check-input"> <label for="acce...
asked by 17.05.2018 / 17:48
1
answer

JavaScript show multiple div's at different time intervals

My question is about how to make multiple elements appear with different classes and times. The idea is to do as the Live interaction of Facebook. The Code is as follows: <ul class="reactions"> <li class="size1">:)</li>...
asked by 20.03.2017 / 12:26
1
answer

jQuery Mobile does not allow internal links

I'm creating HTML 5 application sketch to run on mobile device. In my project, I needed to use different versions of jQuery for the events to work: <script src="js/jquery-1.11.3.min.js"></script> <script src="js/jquery.mo...
asked by 11.01.2017 / 16: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

How to request access token from server, only via frontend in a secure way, without human interaction?

Good people. I caught it here: I have an application on the frontend of a server, which needs to communicate with a Rest API on another server, without the client having to log in. The app that will request or send whatever it takes to authen...
asked by 13.12.2016 / 15:27
1
answer

How to disable materialize input

I realize that with the Framework materialize as soon as I put an input it already stylizes by type. But I do not want to use the stylization for the input, how to disable it?     
asked by 06.12.2016 / 04:07
1
answer

Focus on a browser tab with JavaScript

With JavaScript it is possible to focus on a specific browser tab, assuming I know which tab this is? If so, how?     
asked by 15.03.2016 / 15:16