Questions tagged as 'javascript'

1
answer

Why does v-model not update the variable?

With the following code I can make request.limits update with the input text , however when I make the request $.http , the value assigned by default is sent. How do I send the updated request.limits with the value o...
asked by 09.01.2018 / 19:55
1
answer

OnClick Jquery Event [closed]

I have two events ( OnClick y Focusout ). At the time of doing click in a input the focusout is waiting for this input to lose the focus and skip this same event, but if I do click in another element firs...
asked by 05.01.2018 / 07:33
3
answers

How to obtain the values according to their context?

I want to get the fullname values 'name1', 'name2', 'name3', according to the context that is found. it would be useful to use the bind, call or apply functions. var fullname = 'name1'; var person = { last: { fullname: 'name3',...
asked by 07.01.2018 / 03:44
2
answers

How to pause and resume a setInterval in this example?

My question here is how to pause and resume at the interval with a single button. My pause function shows it but it does not work, I want to put false and then pass it to true and when it is true to re-activate the interval, I wanted to do somet...
asked by 03.01.2018 / 15:38
2
answers

Select a form created using a PHP array?

By array I create forms with php , each form has a input text which is hidden (hidden) , I want to show it by a button in each of those forms. Similar to the Facebook posts that you have to click on the "Comment" b...
asked by 21.06.2017 / 05:05
3
answers

Problem with if condition in javascript

I have a problem when executing my code since the idea is that when a product is already registered only the amount and price can be entered, however, entering the same product key instead of leaving that allows me to change the name of the prod...
asked by 30.06.2017 / 19:28
2
answers

Style sheet css does not work

Hi, I have a problem with the css style sheet that having boostrap the changes I put in the css sheet does not do anything. <head> <title>Pruebas Javascript</title> <link rel="stylesheet" href="https://maxcdn.bootstrap...
asked by 19.07.2017 / 07:34
1
answer

drag canvas with two canvas

I am doing that one can upload the logo and position it anywhere in the background image, the problem is that the drag works with a canvas but with two sometimes it works after a while, they know if there is a way to Do it different ?. What I wa...
asked by 27.06.2017 / 22:04
2
answers

this is undefined in addEventListener Callback

Hello, I have the following html code: <nav id="myNav" class="nav has-shadow"> <div class="nav-center"> <a class="nav-item is-tab is-active">Ingresos</a> <a class="nav-item"><h1 id="myTitle"...
asked by 20.07.2017 / 00:46
1
answer

What is the difference between an import with parentheses and without them

I'm working with meteor and react, in the main.js file I import two kinds of different sites for example import {Players} from './../imports/api/players'; import TitleBar from './../imports/ui/TitleBar'; What is the difference between one...
asked by 13.07.2017 / 18:23