Questions tagged as 'javascript'

1
answer

Problems with carosel in bootstrap 4

// Carousel Auto-Cycle $(document).ready(function() { $('.carousel').carousel({ interval: 8000 }) }); #myCarousel { position: center; padding: 2em; } /* Thumbnail Box */ .caption h4 { font-size: 22p...
asked by 21.11.2017 / 13:38
1
answer

Why is the problem caused when creating via Jquery?

Question Well I am creating Select with options that come from a database which are created from a for and in turn a button is created, which should insert a div with certain content, but at the moment of giving the e...
asked by 17.11.2017 / 21:27
1
answer

Change checkbox when running javascript

Hi, I am developing a project based on MVC that uses Knockout. In this, the events in a database are listed in a table. There is a field in the events that indicates if this is solved or not, and for that I use a checkbox. When in the view a cha...
asked by 04.12.2017 / 20:18
2
answers

Array containing objects created in JavaScript, how to display the contents of the array in an HTML div?

The fact is that I have this function that creates objects of the Person class and stores them in an array. I create it correctly, the problem I have is that I want to show the value of the object created in an HTML div. This is the constructor...
asked by 19.11.2017 / 17:17
1
answer

how can I get two date values with jQuery and send them to another document?

<input type="text" class="primerFecha" name=""> <input type="text" class="segundaFecha" name=""> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> <a id="reporteBV" target="_blank">...
asked by 04.12.2017 / 18:24
2
answers

how to access an attribute of a select with jquery?

I have a select that I fill from my database, all right up there but I fill three parameters in my select: one is the value, another parameter 2 and another what is shown. What I need is to get what is shown so create the parameter 2 so you can...
asked by 22.11.2017 / 17:29
1
answer

Delete bookmarks and update them, google maps V3

I need to remove the markers, or clean them off the map so that the old markers do not overlap. what this code does with the help of the setInterval(refreshMarker, 2000); is that it calls back the markers, and there if I am also stretchin...
asked by 20.11.2017 / 12:49
1
answer

How to change the context when declaring a variable? [duplicate]

In javascript, although being bad practice, we can define a variable as global and available from any context, declaring it without the keyword var , like this: nombreVariable = valor; The problem with this is that it is assigned as...
asked by 19.11.2017 / 22:35
1
answer

error in innerHTML JS

data='[{"isbn":"2839438","nombre":"Programación en PHP","editorial":"Anaya","paginas":"370","autores":["Luke Welling","Mirna Barns"]},{"isbn":"4483838","nombre":"Introducción a AngularJS","editorial":"Riley","paginas":"850","autores":["Jhon...
asked by 19.11.2017 / 20:05
1
answer

Enlarge image with magnifying glass effect

I would like the option to click on an image and with a magnifying glass increase the size with the function "zoomy () ". The problem is that if I click I open the image in Presentation mode to view it at full image size. Code: <!DOCT...
asked by 20.11.2017 / 09:26