Questions tagged as 'javascript'

3
answers

How to apply the same CSS style to different elements through Javascript?

I have a configuration tab in my web application, this tab, although simple and basic, should allow the user to adapt his interface as he wants, and what happens is that I have a chooser color where you can choose a color tonality inside of that...
asked by 17.08.2016 / 01:09
1
answer

Recover fix in javascript and send it to php

I have a problem I can not solve, I have a form which contains a section inputs checkbox that are generated dynamically, the name of this input keep it as mail_2 [] my problem is how can Pick up that array in js to send it to php where the arr...
asked by 14.03.2016 / 21:35
1
answer

Twitter streaming API for NodeJs

I'm trying to get tweets from an account either mine or someone else's. Create an account on twitter, and create an application, I have the token and the keys, I would like to know if anyone has used this API, because I want to get the last t...
asked by 13.02.2016 / 17:01
1
answer

Failed to redirect in a promise

Good morning. I'm doing a script in which ajax performed a process of insertion in BD depending on what returns this function ajax I need to reload the same page or clean the form, if everything goes well continue with another function ajax i...
asked by 03.01.2019 / 06:51
2
answers

Mouse zoom over event that shows an iframe

This code that I copy allows that when putting the mouse over the first image it shows the second one. However, I want to do something I can not do. I would like that when I put the mouse over the image, it shows me a box like an iframe, because...
asked by 02.06.2016 / 09:39
1
answer

Delete a card from the DOM and at the same time delete from the localStorage the data contained in this

Recently I started my first project with JavaScript (my first language). It is a note application, where when creating a new one an element is created that is added to the DOM and at the same time to the localStorage and the opposite...
asked by 23.12.2018 / 06:26
1
answer

Get shaded text from a div and apply styles on that text, with Jquey

I am creating a content editor, similar to this stack editor where we write our questions, with almost the same options to insert images, links, option to put bold text, italics, centered, aligned to the left or right, between Other options. Wit...
asked by 25.12.2018 / 15:16
1
answer

Error creating components from an array

Based on this question I tried to do the same but I do not get anything. function displayResults(container, results) { var table = $("<div class='row tabla' id='tabla1'>"); $.each(results.filas, function(i, filas) {...
asked by 04.01.2016 / 05:41
2
answers

cancel execution element

I want to make a confirmation box in case of yes, the information will be deleted and if not, nothing is deleted and the information is saved; I've dealt with e.prevent default() , but I can not make it work. function removerinput(event)...
asked by 05.01.2019 / 16:23
1
answer

How to pass data from one class to another in javascript using addEventListener or observer pattern?

I have a web page of a form in which I have some components placed with Bootstrap. I have a component that is a bar that as I fill in the questions on a form, the bar should grow. For that I have a class made called a bar and another called a...
asked by 31.12.2018 / 18:17