Questions tagged as 'javascript'

0
answers

Alert with JavaScript in JqueryMobile that shows the information of a form

I am trying to make an alert that appears when I press the 'Send' button and that shows the data that was entered in the form, such as the user, mail, sex, etc. However, when I click on the send button, it redirects me to another page that says...
asked by 03.07.2018 / 02:18
1
answer

How to make the lazy loading of a datatable work?

I currently use a library to make my datatable, which gives me many options to configure my table and what I understand one of them is the recharge option by necessity, this means that I will load my data from the bd as I go moving in the table...
asked by 21.05.2018 / 19:20
1
answer

Get the day of the week according to a date in javascript

I have the following code of a function, I need to get the day of the week from a day that is sent to the function, so I have it: diaSemana : function(d){ var fecha = new Date(); var dias = ["L", "M", "X", "J", "V", "S"...
asked by 26.05.2018 / 01:34
0
answers

How to save the exported table to excel with a name?

I am using the following code to export an html table to excel, and it works perfectly, but the file saves it with the name of "download" and what I want to know is is there a way to save the excel file with the name that I want? var tableToEx...
asked by 18.05.2018 / 00:53
0
answers

How should I make a console.log to see registry errors to the database?

Hello, I am creating an application and when the user registration is done, the data does not reach the database. How and where should I do the console.log or debugger to see the errors? I know that doing console.log or debugger could see the er...
asked by 22.05.2018 / 12:42
0
answers

Hide column automatically from an HTML dynamic table with Javascript?

I have a problem with my dynamic table, I need that a column is not visible, when loading the page that column is not shown but when selecting the filters that are date and client, I paint with Javascript the data of my table and shows the colum...
asked by 18.05.2018 / 17:07
1
answer

What is the best way to load a website? [closed]

I am developing a website similar to Mercado Libre, what I want is for it to load in a fast way. I have seen that YouTube does not render all the content when starting, but after loading the page inserts the content and data of the video, then l...
asked by 19.05.2018 / 16:00
2
answers

how can I position the cursor pointer in front of the text in the following script

The problem is that the cursor is not positioned in front of the text, but it is returned to the beginning. with the 'focus' event that does not happen, but I want it to work with the 'keyup' event let textarea = document.querySelector('...
asked by 16.05.2018 / 22:00
1
answer

problems with javascript objects

I have a board object that is as follows: function Tablero(){ this.mapa = [[0,0,0,0,0,0], [0,0,0,0,0,0], [0,0,0,0,0,0], [0,0,0,0,0,0], [0,0,0,0,0...
asked by 20.05.2018 / 10:19
1
answer

Input of type file to obtain the duration of a video

Good morning; It is possible to obtain the duration of a video by capturing it with input type="file" <input type="file" class="" id="mivideo" name="mivideo> either with JavaScript or jQuery or PHP     
asked by 19.06.2018 / 02:26