Questions tagged as 'javascript'

1
answer

How to run Node.JS in OpenShift and Locally

How to run Node.JS in OpenShift ( link )? openshift URL: link GitHub: link How to run NodeJS locally, it runs on localhost IP (127.0.0.1:port) but over live IP it does not connect, how to connect?     
asked by 22.06.2014 / 00:01
1
answer

How do I display the keyboard using a cord or phonegap?

I am using a cell / phonegap and would like to know: How do I display the keyboard (in the Android OS) once the user logs in to a page that only has a text field?     
asked by 18.06.2014 / 03:50
2
answers

Animation when the element arrives at the center of the page (jQuery)

I would like to know how I get the placement of a given element when it arrives in the center of the window, since I need to animate it when it is centralized. Thank you to reply with jQuery.     
asked by 20.07.2014 / 21:15
1
answer

C3js - Show circle only in the last point of the graph

My chart currently has all the hidden points (the points I'm referring to are "balls" circles), but I need them to show the ball only at the last point. Look at this image to see exactly what I need. Asyoucansee,all"Polka Dots" dots are hidd...
asked by 15.10.2018 / 21:39
1
answer

Sliding horizontal menu

I'm setting up an E-commerce where the main menu contains all major product categories. When the Admin registers many categories the menu gets broken into two lines. The customer requested that you keep all categories on one line and, if you...
asked by 15.10.2018 / 14:39
1
answer

Check $ _SESSION ['logout'] value without refreshing the page

I'm trying to redirect when $_SESSION['logout'] equals on . However, it only checks the value of $_SESSION['logout'] when updating the page. I would like to know how to check the value of $_SESSION['logout'] every 5...
asked by 04.01.2019 / 01:47
2
answers

Highlight weekends for a date range - Javascript

I'm trying to highlight the weekends for a date range. I supply the start and end date, and the script generates a sequence of dates between inputs that already exist. I just did it with the help of the people here, so I ask for help again. I...
asked by 03.01.2019 / 23:06
1
answer

Pass variable in query MongoDB (JAVASCRIPT)

With this query: const result = await Topic.find( { 'categorieName': { $regex: /^news/i } } ) I can return the categories with news name, the problem is that it is not always news, so I wanted to put a variable in place How do I do this?...
asked by 03.01.2019 / 20:12
1
answer

Replace on an object

I make a call Ajax and this call returns me some data. I need to pass a data of descrição , it is a string with a text, however to pass this data in modal I am using data- and for this I need to convert to text. I'm looking f...
asked by 19.12.2018 / 17:07
1
answer

Insert component after rendering Vue.js

Hi, I'm learning how to use Vue.js and so far I'm learning how to create components. But I'm having a problem, I'm trying to render a component after loading the page. I have a jQuery code that I want to use, but I do not know how to do it....
asked by 07.10.2018 / 15:14