Questions tagged as 'javascript'

1
answer

Send Checkbox values of a datatables

I have a problem sending the value of input in state checked to my controller, unfortunately I only send the values of the page where I am at that moment and not all the pages where I have selected a checkbox , what I mean wi...
asked by 22.12.2017 / 18:24
1
answer

add a jquery script using pure javascript

I'm trying to execute the following code from php: echo '<script type="text/javascript"> var script = document.createElement("script"); var executefunction = "'." $.jAlert({ 'title': 'Alerta de Mesa de Contr...
asked by 22.12.2017 / 20:19
1
answer

Problems with .drawImage

I'm following a tutorial to play the Google T-Rex game but I get the following error in the console: game.js: 45 Uncaught TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D':    The provided value is not of type '(CSSImage...
asked by 22.12.2017 / 21:00
0
answers

Get the value of an input and save it in a variable with Framework7

I'm working on Framework7 and PhoneGap new to me. I'm in a calendar and I use the library that comes with the default Framework7, so I get the base values with JavaScript and JSON and assign them to input . The problem is that g...
asked by 26.12.2017 / 16:34
0
answers

how to get a certificate installed on pc client with javascript and send it to the server to use it with php?

I need to obtain a certificate installed on the client PC with the browser (javascript) and send it to the server to sign a pdf document generated with a library such as TCPDF (php). Someone who knows about this so you can guide me please. The c...
asked by 10.01.2018 / 14:12
1
answer

Change label color graphics Highcharts JavaScript

I'm trying to change the label color of the third column of each segment in the graph, the problem I have is that I can not do it based on the value of the first column against the third. The first segment says Front 01 and the goal column is...
asked by 11.01.2018 / 14:12
0
answers

Refresh first firebase field

// Initialize Firebase var config = { databaseURL: "https://visit-hotels.firebaseio.com", }; firebase.initializeApp(config); var app = angular.module("nowtimereal", ["firebase"]); // this factory returns a synchronized array of nowusers app....
asked by 08.01.2018 / 17:53
3
answers

Download a photo directly using javascript

Hello my question is it possible to download for example a photo directly when I open my web page using only php? What I want is that when I open my page with the photo it is downloaded so I can view it on my computer. Try with: <?php heade...
asked by 30.12.2017 / 15:12
1
answer

Javascript how to know when a loop ends

Dear I have a web application in which I have a table with teachers who will belong to a group. My problem is that I do not know how to warn that the group was recorded correctly and reload the page. I do the following function Gua...
asked by 05.01.2018 / 22:53
0
answers

Undo hover from JS

I have an element which changes the cursor, this with: hover I want to be able to undo that change from javascript but keep the hover running when I move the cursor again. .con_inf .inside:hover { width: 50%; left: 0;...
asked by 30.12.2017 / 20:16