Questions tagged as 'javascript'

1
answer

Vertical scroll by parts

I would like to know how to program with html, css and js .a custom scroll Go from the cover to the next page with a single movement of mouse roulette. This is what I want link And repeat with all the sections, to make the website more usab...
asked by 17.03.2018 / 13:50
4
answers

Search within an Array to print match value

I have an array of users and I want to print in an html only the one with the email: "[email protected]", how can I do that search within the array. var user = [ { "id": 1, "name": "Leanne Graham", "username": "Bret", "email"...
asked by 17.03.2018 / 21:42
2
answers

Doubt with moment.js

I have a question about the use of moment.js, the question is, if today I put a date and time for example 03/14/2018 at 01:00, I usually keep the UTC time in the database to then format it to the date / time that corresponds depending on the reg...
asked by 14.03.2018 / 10:50
1
answer

validate form with image if the field is empty?

When the input of the image is empty and I send it my javascript does not run but when I attach a doc it tells me that I have to attach a valid image which is fine. Then I would need my if I recognized the empty field to show that alert. I tried...
asked by 15.03.2018 / 06:37
1
answer

Reduce number of slides in jssor carrousel

I found this question several times but no answer. How can I reduce the number of images in a jussor carousel for a mobile or tablet screen instead of reducing the width of the carousel while maintaining the same number of images. I try to...
asked by 16.03.2018 / 18:45
1
answer

By clicking on the user, show their data VUE.js

I am trying to learn and make a very simple agenda in VUE.js. I was able to list the users by traversing them with Axios. What I would like to implement now, is to click on a user, in the middle column (More info) bring me your email, phone, add...
asked by 14.11.2018 / 14:17
2
answers

add days to a specific date with java script

I have a date in format dia-mes-año 15-02-1981, I would like to be able to add days to that date. The examples that I have been seeing, I do not know why but I add months not days. I'm trying the next code. Ffin="15-02-1981"; //Este seri...
asked by 15.11.2018 / 17:49
2
answers

Clean text in a table

I have the following static table, where I make an ajax and get data. In my success ajax I ask if the array has data fill me the table. <table id="table1" class="table table-bordered" cellspacing="0" width="100%"> <thead>...
asked by 15.11.2018 / 15:29
3
answers

bootstrap-select returns the stuck text of what is selected

I have a doubt .. I am working with bootstrap-select for the first time, when selecting more than one option on the screen, I show them separated by a comma, for example: ONE, TWO, THREE, FOURTH and when getting the value from the js file with t...
asked by 14.11.2018 / 21:01
1
answer

$ (this) returns undefinied in select event change

I have the following simple code: $('#filtro-atenciones').on('change', () => { console.log("Entra!!"); console.log(this.value); console.log($(this).val()); }); <script src="https://code.jquery.com/jquery-3.3.1.min.js" in...
asked by 01.02.2018 / 14:18