All Questions

4
answers

Pass JavaScript variable to PHP? [closed]

By means of a combobox (loaded by names of a database using a while I made a function of javascript that when I choose a name of combobox I bring in a separate input the card of that name . I have read about js...
asked on 22.12.2016 / 17:46
1
answer

What is the difference between --force and --force-with-lease in git?

In git when doing a push if the local and remote branches do not agree, it is necessary to do a force push (although it is not well seen to do a force push ). In git there are two options for this option --force and op...
asked on 19.06.2017 / 16:22
2
answers

How to filter that the name of a file does not exceed a character length in the browser or in PHP?

I want to save the name of a PDF file in a column of a database. The name of the column is nombre_pdf with a varchar(50) and the problem I have is that if the nombre_pdf exceeds the limit of 50 characters, the whole name wil...
asked on 31.05.2017 / 19:40
1
answer

What is the difference between using 'window.addEventListener' and 'window.document.addEventListener'

What is the difference between using window.addEventListener and window.document.addEventListener window.addEventListener("keydown", function(k){ if(k.altKey) { alert("Solamente window.addEventListener: Tecla [ALT] PRES...
asked on 26.06.2017 / 22:19
2
answers

GIT can not create file

I do not have any more processes running.    fatal: Unable to create 'C: /Users/Mauricio/Documents/PROGRAMACION/Github/PostCSS/.git/index.lock': File exists.       Another git process seems to be running in this repository, e.g.   an editor...
asked on 05.10.2016 / 02:49
2
answers

Problems with use $ (document) .ready (function () {})

I'm starting with js and in practice this question arose: The script that I will show below works correctly. <script src="js/jquery-2.0.2.min.js"></script> <script> function accion(num){ if (num==1) {...
asked on 25.07.2017 / 20:32
1
answer

Replace characters in a field in SQL Server

My question is this, I have a field called titulo whose records are all university title names. Some contain ñ , other letters with accents. I imported it from a csv that already came with errors and my intention is to cle...
asked on 20.07.2017 / 22:46
3
answers

MySQL - How to count the Date and Time fields of each time slot?

I would like to know how to count the date field (Ex: 2017-03-12 08:14:12 ) that is in the specified time zone (Between 08:00:00 and 08:29:00) and until 18:00:00 and 18:00 : 29: 00 and SHOW ME ZERO "0" when there are no calls. It...
asked on 13.03.2017 / 05:33
2
answers

Get values from a table row x row - jQuery

How can I go through the rows of an HTML table and get the values with a button? I have the example of a table that gives me the specific value of a cell when I click on the row, but what I need is that when I click on an ok button I get the...
asked on 04.11.2016 / 20:05
1
answer

How to download audio generated with ResponsiveVoice in an MP3 file with Javascript?

I am using responsivevoice.js to generate audio from text and I want to save the audio in mp3 . <script src="http://code.responsivevoice.org/responsivevoice.js"></script> <script type="text/javascript"> respo...
asked on 22.12.2016 / 13:01