Questions tagged as 'javascript'

1
answer

jQuery counting automatically the ID's

So, I've got a scheme here like the FAQ that the site administrator who registers the Faqs. Each new registered question generates two new divs: <div>Pergunta1</div> <div>Resposta1</div> So I use a Jquery to do the t...
asked by 08.01.2017 / 16:50
1
answer

Function js is executed several times

Hello, I'm developing a football betting app which features a table with quotes values of different game modes for each registered game. For each match I have a table with the following code: <div id="partida_1" class="panel-heading-margin"...
asked by 08.01.2017 / 16:12
1
answer

Searching for IP or URL of a site using Geolocation

I'm having a problem using the Geolocation feature where I'm trying to fetch the location data (latitude and longitude) from the url or ip that I type in the ip / url field. By clicking on the "Locate" button, it only returns the ip / url loc...
asked by 08.01.2017 / 21:42
0
answers

Reset functions?

In a supposed page where all content is loaded in dynamic divs without the need to refresh, when closing one of these divs it is possible to reset the function that added the content to this div next to all other events / functions inside it ? O...
asked by 03.12.2016 / 14:04
0
answers

Is there something equivalent to the php DOMdocument class for javascript or angularjs?

Location: Given the url, I would need all the classes used within the page. There is a method of class DomDocument that I would need to use ( ->loadHTMLFile($url) ). Is there anything equivalent to this class for javas...
asked by 02.12.2016 / 16:16
0
answers

node.js unhandled 'error' event

'use strict' const http = require('http'); http.get({ hostname: 'localhost', path: '/user?name=jv&jovem=true&agr=19', port: 3000, agent: false }, function(response) { let body = ""; console.log('STATUS:' + respo...
asked by 04.12.2016 / 19:30
0
answers

Get variable javascript and put in php [duplicate]

How do I get a variable sent by the input in javascript to php? I searched the net bad is not working. Thanks guys! JAVASCRIPT: <script> funcaoJavascript = function(){ var valor = document.getElementById('id1').value; } </s...
asked by 03.12.2016 / 22:01
0
answers

Event '.on (' click ', function () {});' shoot multiple times

Good morning, I am working on a page where it has several ul dynamic, that is with li being implemented in them via input and counted through several variables (one for each ul ), and to facilitate I did a function of Exclude...
asked by 03.12.2016 / 13:07
0
answers

Load content into div without having to load page using treeview menu

Next I researched a lot here before asking this question, I have a menu that when I load the content in the div it gets bugged, it opens and closes at the same time after I load the contents in the div. I need some help. Menu: <...
asked by 10.12.2016 / 18:16
0
answers

Button getting hidden

I have 2 variants when they are no longer null are created two buttons, the problem is that one always appears hidden, if I inspect the code it is there, however on the screen nothing appears, I am suspicious that is because the two are trying t...
asked by 12.12.2016 / 11:27