Questions tagged as 'javascript'

1
answer

Change page content when clicking on link in VueJS

I have an email application and I have a side menu with all the email boxes that will be available to the user. Here is the image: What I want to do is: Each time I select (click) an item from that menu it reloads only the content of...
asked by 24.08.2017 / 16:42
1
answer

JavaScript code

I'm still struggling in the area of Ti, someone could help me with the following code, it would be simple but extremely important thing in my course work, follow the Html code <html> <head> <title>Projeto</title> <st...
asked by 23.08.2017 / 20:31
1
answer

How to capture a jquery element and leave changed in a new variable without changing the view?

For example, I want to get the DOM element, and then change, without it changing the behavior in the view: //aqui pego o conteúdo da html var content = $('.content').get(0); //aqui eu reescrevo, porém ocorre que o $('.content') também está sen...
asked by 05.06.2017 / 21:43
1
answer

Problem with uiRouter

I have a problem with my router when i use it i can not make it work, i copy the exact code as it is in git from uiRouter and it does not work, because the links are not referable, when I hover the mouse over the link the format of the mouse is...
asked by 05.06.2017 / 18:51
1
answer

Overflow in menu off canvas?

I'm doing a off canvas menu, actually it's always on the screen, and when I click the button, what moves is my main , the problem being overflow, when I open the menu it should not let me give scroll , but rather close the men...
asked by 06.06.2017 / 02:46
3
answers

Paging in the photo gallery

Good night everyone, I need help in the following code snippet and a gallery of photos and I need to do the pagination of 9 in 9 photos already tried everything and I could not if they can help me there <!DOCTYPE html> <body> <?...
asked by 16.09.2017 / 05:16
2
answers

Create node in xml with jquery

<?xml version="1.0" encoding="UTF-8"?> <dados> <usuarios> <usuario> <login>usuario</login> <senha>senha123</senha> </usuario> </usu...
asked by 04.06.2017 / 01:10
4
answers

Javascript Concatenation between Arrays

Hello, how do I split an array and put 3 in 3 inside another? I have an array: aux_zip ["Cafe","feijao","frango","batata","pao","miojo","laranja","mouse","teclado]; I want to concatenate this way: zip ["Cafefeijaofrango","batatapaomioj...
asked by 15.09.2017 / 14:45
1
answer

Doubt in an onclick Javascript event

I have this javascript code to add and remove the added lines. function adicionar() { var itm = document.getElementById("itens").getElementsByClassName("div-bloco-form")[0]; var cln = itm.cloneNode(true); var inputs = cln.getElemen...
asked by 27.04.2017 / 16:39
1
answer

Reorder list of products with Javascript?

I would like to know how to change a list of products. I have the products in Json , and I would like to implement a function to reorganize the products by Mais recente, Maior ou Menor preço. JSON "produtoUm" : [...
asked by 20.04.2017 / 18:33