Questions tagged as 'javascript'

2
answers

Get first value of an array in javascript

<script src="http://code.jquery.com/jquery-2.1.0.min.js"> </script> <script> var coordenadas; function testAjax() { $.ajax({ url: 'https://dev.datos.ua.es/uapi/5QGUfP3UM6j5VXERjKvU/datasets/11/data',...
asked by 15.10.2017 / 17:29
1
answer

Pass data to the Controller and Open new Window in Codeigniter [Not working]

[EDITED] I am trying to pass the entered value of two fields, date_ini and date_ter, I believe that the data is sent since the success is now executed, that is, a new tab that would be > C_Porce_PDF . However, when loading it, it shows me...
asked by 16.10.2017 / 13:09
1
answer

Open video with window.open and get src from html5 video player

I have a URL of a video (it's not from youtube) that I want to run from window.open , when it is executed the video player HTML5 of the browser is automatically loaded. The URL that I have when read by the browser chan...
asked by 15.10.2017 / 21:06
0
answers

insert component into another angular component 4

I want to show one component (one header) inside another, the problem, I think, is that I'm using router-outlet , and when in some component view (parent component) I want to put the component header (child component), and then own content of t...
asked by 16.10.2017 / 14:35
0
answers

Pixels when zooming in cropperjs and angular 4

Good afternoon I am working with Crooper js and angular 4. And when I zoom the background of the work area creates white pixels around the image. as shown in the image.     
asked by 10.10.2017 / 23:00
1
answer

Validate form

I need to validate the fields of a form with jquery and I already had some but this form is written in php and it does not come out, This is the code of the form <form name='frmUpdEspecialidades' id='frmUpdEspecialidades' action='qryEspecia...
asked by 11.10.2017 / 00:19
1
answer

How can I add a static or fixed Navbar to a component in React with Meteor

I have seen that being able to apply a fixed navbar can be applied with 'Scrollspy' of bootstrap, I found an example on this page link but when doing it with my component it is not seen in the same way, is my component the js file as I can imp...
asked by 09.10.2017 / 21:49
0
answers

Driver instances in AngularJS

Good morning, what happens is the following: In my controller "MessageListCtrl" I have a $ interval, which makes certain updates every certain time. I also have the $ routeProvider that handles the following: }).when('/labe...
asked by 10.10.2017 / 00:58
1
answer

how to generate a json array in javascript adding id

As I can make a script where I can load the following structure into a json, the idea is to load the values with push. 1 {1,2,3,4,5,6}, 2 {10,11,12,13,14}     
asked by 23.10.2017 / 06:35
2
answers

I can not get the text with javascript and vue.js, send it to me null

I am trying to get the text of the span tag with javascript, but the sending of the data remains in null. This is how I have the code: html: <div class="col-lg-10 "> <span id="trunc">Lorem ipsum dolor sit amet, cons...
asked by 10.10.2017 / 18:10