Questions tagged as 'javascript'

0
answers

How to pass the result of an angular promise JS to the scope of Angular JS?

I am a beginner with the subject of promises in Javascript. I'm doing an Http query to a laravel method that brings me a little list. When doing the query all ok, it shows me the records in console.log, but when trying to make them available to...
asked by 02.09.2018 / 14:24
2
answers

How to hide brb in a textarea

I'm doing a platform of streaming type YouNow , I've already done everything but I have a problem with the chat . I want to make a chat where the text goes up and do not leave that box, my only alternative is a textarea. but now m...
asked by 02.09.2018 / 01:47
0
answers

template for LifeRay 7.1

Could someone explain to me how it is possible to create this template for a site in Liferay 7.1? is my first time using Liferay 7.1 (Liferay Community Edition Portal 7.1.0 CE GA1) and the truth is nothing about how to create a template or theme...
asked by 30.08.2018 / 20:26
1
answer

error 400 bad request in Ajax with admin_ajax from wordpress

It turns out that I'm doing a Wordpress plugin in which I need to make an AJAX for the file "admin_ajax.php" of Wordpress, but when I send the request, the client gives me the error 400 (bad request) and I do not understand why what reason...
asked by 29.08.2018 / 16:39
0
answers

Print a DIV from jQuery with CSS and in A5

I try to print a div, from jQuery, in the following way: function printDiv(divVer) { var printContents = document.getElementById(divVer).innerHTML; var document_html = window.open("_blank"); document_html.document.write( "<html&...
asked by 29.08.2018 / 16:39
0
answers

How to put the slider under lightbox?

good day, I'm using the library Nivo-slider.js, but I had a problem, I have a light-box, the problem is that when I activate my light box, the slide is above this, and I do not want do that, some suggestion, how can I make it so that this does n...
asked by 29.08.2018 / 18:04
0
answers

Read console.log entry in javascript

I am trying to capture the data entry through console.log without using node js. But jump the readline error is not defined. Some other method or where I have the error, I wanted to ask before asking but everywhere they use node I think that for...
asked by 10.09.2018 / 12:45
0
answers

Functions and arguments in cart

I am doing a course for Js and an almost existential doubt arose. I attach the code below function leerDatosCurso(curso) { const infoCurso = { imagen: curso.querySelector('img').src, titulo: curso.querySelector('h4').textContent,...
asked by 04.09.2018 / 12:11
1
answer

Problems with styles within Javascript

I have a ComboBox with some styles of Boostrap 3 and js that are shown perfectly, but when adding another ComboBox with javascript it also loses the styles that the previous one has: <div class="row"> <div class="col-sm-4">...
asked by 06.09.2018 / 19:11
0
answers

Show or hide banners at a certain time

I have 5 banners and I would like each one to appear at a specific time, when the other one disappears, it is for my radio site. The idea is that as the programs go by, the banners will change automatically. Thank you!     
asked by 04.09.2018 / 16:53