Questions tagged as 'javascript'

1
answer

Problem with tooltip Bootstrap when removing instance and creating another

I have a filter panel with several inputs , if some of these input does not pass a validation rule, it will instantiate a tooltip to signal the error. The problem is when for example I have an input with the tooltip already instantiated, I...
asked by 25.07.2017 / 16:12
2
answers

Load a SELECT depending on another SELECT - Javascript - DOM

Without using jQuery, only Javascript. I want to add the options of the second select depending on the value that the first select takes. The first select chooses the province we want to deal with, and automatically depending on the province...
asked by 22.05.2017 / 11:23
1
answer

How to make a tour of N records in Javascript

I have this code that verifies me if the id number entered in a form exists in the registry: callAjax("http://page.app/serial?" + Date["now"](), function (a) { console["log"]("resultcheck", a); try { a = JSON["parse"](a) } catch (e) {...
asked by 21.05.2017 / 19:25
1
answer

Can I send a BLOB to an input file from Javascript?

I have a website where you record a video, and what you do is create a BLOB and then send it to a URL server with URL.createObjectURL() . But I need to save that BLOB in MySQL , so I tried to send the BLOB to input of type...
asked by 07.05.2017 / 03:17
1
answer

Consultation on the concept of Overriding Methods

I do this query because I am seeing prototyping in JavaScript and I do not understand well what they call "Overriding Methods" and I could not find a page in Spanish that explains it clearly. So, in concrete and easy-to-understand words, what...
asked by 21.04.2017 / 18:37
2
answers

doubt about promises Javascript

function promise(){ return new Promise(function(resolve,reject){ setTimeout(function(){ JSON.parse('ok'); //disparando excepción },100); }); } promise() .then(null,function(error){ alert('entrando...
asked by 21.04.2017 / 11:31
1
answer

Send a message to a specific user in nodejs socket.io

Greetings, how could I make a message only reach a specific user, because using io.sockets.emit makes the message reach everyone but I could not make it reach only a user that selects, if They could guide me, I'd appreciate it.     
asked by 07.09.2017 / 23:22
1
answer

Modal only opens with the first button

I was reviewing the Material Design Lite library, and I have problems with the modal, I have two buttons and the modal only opens with the first, omitting the second. <html> <head> <link rel...
asked by 10.09.2017 / 22:15
2
answers

Edit rows of a table with jquery

I'm starting to work with JQUERY in my project in which I generate a table from a function with AJAX, for each record besides the data, I generate a column with a button to edit, the problem is that I need to press the edit button; on the same v...
asked by 07.09.2017 / 19:51
1
answer

I want to change my right and left of a css class from javascript and I can not

My problem is the following one I want to change the right and the left of a css from a javascript but from a resolution 1920 here is my code. var es_safari = navigator.userAgent.toLowerCase().indexOf('safari') > -1; var mediaquery =...
asked by 11.09.2017 / 14:18