Questions tagged as 'javascript'

0
answers

Out of Memory when reading an excel file with ClosedXML

I have an interface on the web, with MVC, c # and js, when I attach the file to the input, it keeps loading and after a while it gives me the message outofmemory. The file is read, saved in a datatable and then inserted in bd. There is some m...
asked by 24.09.2018 / 20:11
1
answer

Insert a combobox with the upload files button

Hello good afternoon I have a code that I use to upload files but I need to not only upload files but also upload the combobox because the image goes according to the selection of the combobox someone could help me I have two fields image and im...
asked by 20.09.2018 / 21:43
1
answer

Background image figure first when doing onclick

Good I do not understand because I figure the background image when doing onclick in an image is as if the opacity is giving me in both photos. This is the div that contains the image <div class="imgs" id="imgs"><img src="img/24.jpg"...
asked by 20.09.2018 / 19:53
0
answers

Error with classlist

I have the following function that initially works but then stops working what happens is that I take one class and leave me another hidden=function(elemento){ if (elemento.classList.contains('hidden')) { elemento.classList.remove('display...
asked by 21.09.2018 / 17:09
1
answer

JavaScript function does not refresh the data very well

Hello good afternoon friend my problem is that I use a select option which if I choose that if I must hide a button and a select and also if it is NA but if it is NOT shows them then use a javascript function and it works very good but let's say...
asked by 21.09.2018 / 19:57
0
answers

Call ajax with onclick

I am trying to count the number of clicks of a specific part of my page. I put an onClick to the element which makes a call to Ajax to store in a database for every click they make. HTML code <a id="tapaweb" href="hola.pdf" onclick="m...
asked by 22.09.2018 / 23:58
0
answers

Problems importing JS files in flask

I am using a package called flask_material to be able to use materialize in my flask project, and it loads perfectly the css and the components that I use, however when importing my JS file it is in which I have to import the init of my componen...
asked by 23.09.2018 / 04:42
0
answers

Problem with Error 403 Forbidden in certain cases

I am developing a sales system, with HTML, javascript, php, jquery and ajax (it may not be the best combination but it is my first system), and when I want to transfer the data of a sale to excel with PHPExcel (the typical summary that is delive...
asked by 21.09.2018 / 02:45
2
answers

Automatic php refresh system

Hi boy @ s I'm looking for a way to generate a random content sheet (chunks of lyrics) that refreshes every x seconds. So far I have managed to get the system to visualize the random content (great) every time I update the page and also refre...
asked by 21.09.2018 / 10:34
0
answers

webpush notifications from the backend side

I have a question about how to push the notifications from the server side, I have seen on the Internet and especially the documentation provided by Google. But I can not make the backend finish sending the notification (using nodejs) to the use...
asked by 21.09.2018 / 12:18