Questions tagged as 'javascript'

1
answer

c # with javascript get src from the image using MouseDoubleClick cefsharp

<html lang="pt-br"> <head><title></title></head><body><img id="1" alt="1" src="http://www.imagenspng.com.br/wp-content/uploads/2015/06/imagenspng_logo4.png"style="width: 150px; height: 150px;" /><i...
asked by 30.06.2017 / 05:37
1
answer

Google maps API

How do I make a custom map style like this: link Using the google API, I do not know where to start.     
asked by 23.06.2017 / 16:33
2
answers

Is there any way to clear cache in the client browser? [duplicate]

For example, I have my site and I made a modification, but it has not yet been applied in the client browser. Is there any way I can run this cache cleanup on the client browser? With PHP, maybe JavaScript? In a site I'm working on, it has...
asked by 23.06.2017 / 15:30
2
answers

Changing frame width with mouse over javascript

Hello, I need to make a javascript code that changes the width of my iframe by hovering over that iframe. Here is the code: <html> <head> <link rel="stylesheet" href="http://www.site.com.br/imagens/style.css"> <meta nam...
asked by 16.06.2017 / 19:05
2
answers

Play date that returned from ajax in foreach php

I have a search ajax that retouches some data based on what was searched, how do I play that 'date' that comes from an ajax in a foreach in php ? $.ajax({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')...
asked by 19.06.2017 / 17:21
1
answer

Individualizing page exchange time

In this script below it makes a page alternation, it already works perfectly for me, more precise that each page have different times of each other, example: page1.php is showing for 20 seconds page2.php is displayed for 30 seconds...
asked by 19.06.2017 / 17:05
3
answers

Reading a Json object with javascript

In an ajax request it returns the following: { "og:locale":"pt_BR", "og:type":"article", "og:title":"Um titulo qualquer", "og:url":"http:\/\/www.umsite.com.br\/uma-url\/" } My request: $.ajax({ type: "GET",...
asked by 01.07.2017 / 17:08
1
answer

Get span tag name

I need to get the generated name inside the id="getname" and put it inside the id="name", I made the code below, but it did not work. The span tag="getname" generates the client's name, in the case of Fulano da Silva and then with the script i...
asked by 30.06.2017 / 22:30
3
answers

json php error, but json is correct

My php script returns a json, but when js is going to read json it says error. Butcopyingandpastingthesamejsonintoavalidator(ex: link ) says it's correct. For those who can help me, I appreciate it. Edit: follows json {"ArrayTopFiveIten...
asked by 31.05.2017 / 21:36
1
answer

TypeError: uri.indexOf is not a function

I'm doing a crawler using node.js and mongodb to save the information in the database and I have the following code: var request = require('request'); var cheerio = require('cheerio'); var save = require('./savedb.js'); var URL = require('url-...
asked by 01.06.2017 / 01:08