Questions tagged as 'javascript'

1
answer

Post loaded with ajax in wordpress repeated

I have a post page on my site, it shows all posts created in wordpress, however they are many post, so I put an application that only shows 5 posts in the page, and clicking the button created, 5 more post, however, some post comes repeated. I w...
asked by 26.10.2018 / 20:29
0
answers

How to remove the overlay of a specific div?

I have the following code that will create delimiters ( target ) according to the past coordinates. But I wanted these targets to remove the overlay <!DOCTYPE html> <html> <head> <meta name="viewport" conte...
asked by 01.11.2018 / 16:53
0
answers

Protractor with Cucumber does not run tests

Hello. I'm a beginner in cucumber protractor testing and I'm following some tutorials and in my case it does not work. I run my test but it only generates the Gherkin-based code I wrote. protractor protractor.config.js Execution result:...
asked by 01.11.2018 / 14:39
1
answer

Update v-for in Vue.js

Hey guys, I have a slight problem here in my Vue.js. I have a variable user.activeItems , in HTML I give a v-for this variable, to show the active items, as follows: <div class="item-container" v-for="(item, index) in user.activeItems...
asked by 28.10.2018 / 20:00
0
answers

Regressive timer updates and does not accept new value to start counting

Countdown timer when clicking start returns the value that is set in the parameters. If you add minutes to the counter before starting when you click the start it will return to the value set and not to the new value entered. import React, { C...
asked by 28.10.2018 / 21:19
1
answer

Error starting project with React Native Expo

I have version 8.12.0 of NodeJS installed in Debian 9, so I installed the Expo with the command npm install -g expo-cli , which in the end returned the following alerts: IgnoringthisIcreatedaprojectwiththecommandexpoinitNomeProjeto.Sofarev...
asked by 28.10.2018 / 16:59
0
answers

How to insert custom content inside a JavaScript lightBox?

Good afternoon guys, need a help, I'm learning javascript in the marra and I would like to know how to insert content (in this case a .ctp file) into this light box. I'm using Cake PHP Form Button echo $this->Html->div("col-md-4"...
asked by 25.10.2018 / 19:46
0
answers

Dojo - multipleDefine

When you try to run the code below, it returns dojo.js.uncompressed.js:1931 Error: multipleDefine at c (dojo.js.uncompressed.js:129) at Na (dojo.js.uncompressed.js:1611) at dojo.js.uncompressed.js:1667 at e (dojo.js.uncompresse...
asked by 25.10.2018 / 17:13
0
answers

How to post links stories on Instagram

Does anyone know how to include a link field for Instagram stories in PHP? I already have all the code ready to post, but I do not know how to include one more field for the link, type this in the attachment. The link serves to show the "Drag...
asked by 25.10.2018 / 18:53
1
answer

Placing in alphabetical order an array of objects [duplicate]

I have an array of objects and I want to put them in alphabetical order but I'm not getting through the javascript, I'll put how the array is structured and the code to call the page var json = [ { "ID":"1", "TÍTULO":"Algum...
asked by 25.10.2018 / 18:42