Questions tagged as 'javascript'

1
answer

Use $ index without a ng-repeat?

I'm trying to upload some videos to a site and it happens to me that if I load one works perfect, but if they are more, you can not play any. I suspect that what happens is that I have the same ng-click to play all the videos, then they must be...
asked by 07.11.2018 / 03:02
1
answer

How to capture in an SESSION variable an element when clicking on it?

I do not know how to express my question but the issue is this, I'm doing a job for a course which I'm taking but I'm at a standstill, the work basically consists in making a simple "copy" of a social network, These are the requirements that the...
asked by 25.11.2018 / 23:46
0
answers

Contain window in an iframe

was making a window to show a result of another web page that requires the sending of data by POST. So far no problem, I open a form and send it and it works correctly. The problem comes when I want to put it in an IFRAME (to be shown in a box i...
asked by 06.11.2018 / 09:41
0
answers

Fetch api, Retrieve response data

I have a code in javascript that sends an id by POST, to a php file (vs 7.2.9) that consults with sql to a DB, and I need the html code it generates to make a report with dompdf Javascript code let cedu = snapshot.val().cedula;...
asked by 05.11.2018 / 21:59
0
answers

Is it possible to call a java class to javascript or html?

I have a project in TDD in java language, the issue is that I'm now doing a web application in netbeans and I wanted to know if you could call those classes. Take my web project.     
asked by 05.11.2018 / 21:10
0
answers

Load style sheets asynchronously?

I am building a SPA and there comes a time when I need to insert a new style sheet and remove the old one. I do not like the solution: $('head').append('<link rel="stylesheet" href="new_estyles.css" type="text/css" />'); $("LINK[hre...
asked by 05.11.2018 / 22:41
0
answers

Problem with DataPicker and JavaScript

$(document).ready(function(){ var id; $(".cell").dblclick(function(e){ id = e.target.id; $('#ModalReserva').modal('toggle'); $('#datetimepicker1').datetimepicker({date: id}); }); }); I have several cells i...
asked by 05.11.2018 / 17:06
1
answer

ADD TR TO TABLE AFTER AN ONCHANGE IN SELECT [duplicate]

I want you to help me, I want to add a tr to the table by pressing a select with option, in the onchange function, I already have the data, just add to the table, my table has a tbody, inside that I want to add it , also that each time you add...
asked by 05.11.2018 / 15:38
1
answer

Progress Bar Control ON / OFF

Hi, I'm trying to make a section where the content is displayed randomly. For this I am using the following. Content that refreshes every x seconds. A progress bar showing the time before refreshing A toogle on / off to activate and deac...
asked by 05.11.2018 / 12:01
0
answers

HTML to use script only in Internet Explorer

I need to use a script only in Internet Explorer and for this I use the following line of code: <script type="text/javascript"> if(/MSIE \d|Trident.*rv:/.test(navigator.userAgent)) document.write('<script s...
asked by 05.11.2018 / 09:08