Questions tagged as 'javascript'

1
answer

How to operate a gif loading when using the window.location.href when downloading a document?

I have the following click event, which when exporting a pdf, is downloaded, but I wanted to place a gif animation loading while it is generated. I've tried to do it like this: $("#export_pdf").click(function (e) { e.preventDefault();...
asked by 02.07.2018 / 21:49
3
answers

The length of the string exceeds the value set in the maxJsonLenght property

I am sending a picture on Base64 through Ajax, this is because I am using an Apache Cordova PlugIn to take pictures. The result in Base64 is sent to the MVC server in a JsonResult. The problem is that when the string is very long the server retu...
asked by 21.06.2018 / 19:01
2
answers

function clickbutton without jquery

I have a code that clicks on a button, but I want to do the same without jquery, since jquery makes my page very slow, like I do with javascript? this is the code: <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>...
asked by 29.07.2018 / 02:24
1
answer

How do I modify an iframe through javascript?

The problem is as follows. I have a total of 4 iframes within my website, the only one that moves is the content, the others remain immobile, the one that moves constantly has no problems, the issue changes when one of the other frames should be...
asked by 20.07.2016 / 07:25
1
answer

JSfiddle does not help me

It seems strange to me that when I go into the examples of other users and overwrite with my html code, I alter the external sources. My jsFidle example works. On the contrary, if I am in my account starting a jsfidle from scratch it does not wo...
asked by 03.10.2016 / 17:30
1
answer

Change values of the Jquery attribute,

I have a jsfiddle. link Here is an intput tag: <div class="marging"> <input id="ex19" type="text" data-provide="slider" data-slider-ticks = "[1, 2, 3, 4, 5, 6, 7, 8, 9, 1...
asked by 04.10.2016 / 21:53
3
answers

Does not load the component in react. error in http: // localhost: 3000 / shows the message on the Can not GET page / when trying to load the React component

file: server.js const express = require('express'); const express = require('express'); const app = express(); const app = express(); app.use(express.static(__dirname + '/public')); app.use(express.static(__dirname + '/public...
asked by 08.08.2017 / 23:47
1
answer

Permissions for calls XMLHttpRequest using the Uploadifive plugin

How about friends I have a problem using the Uploadifive plugin, to upload multiple images to my server, this plugin uses the XMLHttpRequest service. I have a .htaccess file that blocks the access to the directories and files, but I added the pe...
asked by 06.02.2018 / 21:40
1
answer

How to get facebook friends with the Graph API?

I have recently been asked to integrate Facebook with a website. The initial integration of login has worked correctly, but now it has been requested to get the list of friends of the user who is connected to the site, and to be able to send an...
asked by 05.06.2017 / 18:43
2
answers

deactivate Sundays in the input date html?

I need to deactivate the Sundays of the input date, that is, the user can not choose Sundays, it would be better for me to block those days, that is, I do not want you to tell me you chose an invalid day, but it does not show the Sunday similar...
asked by 06.07.2017 / 18:00