Questions tagged as 'javascript'

1
answer

Script to remove readonly

I have a user registration system and a page where I show all registered users. I display 8 users per page - each user has the option to click on an anchor Info that details the user. In these details there is an option to reset the passwor...
asked by 05.12.2017 / 13:21
1
answer

Error in paging inside the flap

I have a strange problem, in some part of my site I have a tab, but inside one of them there is a pagination, which when it was placed inside the tab did not work and only appeared the buttons previous and next but not the of pages. So I impleme...
asked by 05.12.2017 / 17:27
1
answer

In an Ajax XHR request, in HTTP_ACCEPT what meaning of q = 0.01?

I have communication via Ajax (xhr) , and in my HEADER the value of HTTP_ACCEPT is application/json, text/javascript, */*; q=0.01 . I understand all the previous values, I would like to find something that explains the q = 0.01...
asked by 05.12.2017 / 15:17
2
answers

Open app google maps via link by ionic 3

I need to make a link that opens google maps external app on android and ios (apple maps) that opens with a marker in a certain coordinate. So far, through the research I found something similar to the one presented here: iOS (launching Apple...
asked by 23.10.2017 / 15:50
2
answers

Correctly pick which div was clicked

I have some divs: <div class="filter__filters tamanho"></div> <div class="filter__filters preco"></div> <div class="filter__filters cor"></div> I'm trying to get which was clicked, like this: $j('.filte...
asked by 13.10.2017 / 15:06
1
answer

How to perform .filter between arrays / objects AngularJS Javascript

I have the following two objects in AngularJS: $scope.listaDoCarrinho = [0: { id: "55", setor: "alimento", foto: "Produtos/Produto (55).jpg", descr: "Espaguete Renata", de: 15, … }...
asked by 11.10.2017 / 21:44
1
answer

Wait for a certain period to execute a function in JavaScript?

Is there a method that makes a function run after a certain time? What I need is that the function below execute after a period of time, because the ID that it searches is only available after a time that we stayed on the page. var func =...
asked by 01.10.2017 / 03:57
1
answer

Wait for Function Fill

I have the following function sistema('/comando2'); //estou chamando assim sistema(cmd) { if((req.state == 4) && (req.status == 200))//verifica a request do XMLHttpRequest {...
asked by 11.10.2017 / 10:28
1
answer

How to store the span tag texts in an array in jquery / javascript?

I need to get the text that is contained between the span tags. This is the framework I'm working on: <table> <thead> </thead> <tbody> <tr> <td colspan="9" class="questiontext"...
asked by 28.09.2017 / 20:59
2
answers

I can not add value in Array

I want to add the name entered at the prompt into an array and display the names in a table but when adding it it displays the null value in the table. var nomes=[]; var indice=[]; var i=1; window.onload=function(){ do{...
asked by 29.09.2017 / 00:09