Questions tagged as 'javascript'

1
answer

Error "toggle is not defined"

I have the following concern: My code works, but when I see the console it throws "ReferenceError: toggle is not defined" Here I leave the code <div class="container-menu" id="icon-menu"> <div class="bar-1"></div>...
asked by 29.11.2016 / 14:53
0
answers

Graph a Flot Chart of lines with multiple series obtaining data from the database

I am trying to create a jQuery Flot chart with multiple strings extracting the data from the database with a query. This is the table I have in the database:    Code | Date / Time       A | 9-10-2016 09:25       B | 10-11-2016 10:11   ...
asked by 17.11.2016 / 17:51
1
answer

Validate a range of minutes [closed]

I am working on a page where I ask for the hour and minute that you want and at the same time I ask for an interval of minutes that you wish to cut. For saying 04:50 and of those 50 min I wish to cut only 5 min what I wan...
asked by 25.10.2016 / 18:24
1
answer

Change the value of input type text in php

I have a value assigned to a variable in php and I show it in a type text. I wish that by clicking on a checkbox I can edit and change that value. 1.- If I click and change the value, when submitting with submit, it shows me the change made....
asked by 26.10.2016 / 14:28
1
answer

because they use the loop_start method?

hi what happens is that I do not understand why in some codes they use loop_start and loop_end to fill tables in html for example: <table class="table table-hover"> <tr>...
asked by 08.02.2017 / 21:04
2
answers

How do I convert a json to a two-dimensional array by javascript or jquery?

I have a problem with a json, because I have to transform it into a two-dimensional array or with this format [[0,0], [0,0]], at the moment only for normal arrays, and I also use it know how to do with this format, which in essence is the same [...
asked by 03.11.2016 / 14:25
0
answers

Open android gallery from an html

Good morning everyone. I'm trying to open the Android gallery from a .html that I have in the assets folder. This .html I open from a webView and everything works great except for a button that should open the file browse...
asked by 13.02.2017 / 11:19
1
answer

Problem with innerHTML

I want to replace the text of an html element that contains a link, to which I added the corresponding ID: This code works (without the link): <script> var titleChange = document.getElementById("navceth").innerHTML = "<a>CETH<...
asked by 15.02.2017 / 20:37
1
answer

Error 'TypeError: jsPDF is undefined' when using jsPDF-AutoTable

Apparently the error originates in the file: \lib\jspdf-autotable\dist\jspdf.plugin.autotable.js . I'm using nodeJS and angularJS 1.3 Just do the bower install.. and in my config file add this:    'public / lib / jspdf-autotab...
asked by 15.02.2017 / 17:45
0
answers

Paginate a table [closed]

I work with ASP.NET MVC 5, I want to paginate a table created with html, I have tried it with jquery but it has not worked. <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script src="~/sc...
asked by 13.02.2017 / 23:08