Questions tagged as 'javascript'

1
answer

jQuery reverse conflict

I'm working on a site that wants it to change the order of the li when the window has < 800px, and implemented the code below. The problem is that it seems to be failing at random and sometimes even when the window is going to go over 800px agai...
asked by 18.03.2014 / 16:01
1
answer

Save PDF file of a given spreadsheet range

My first question here, a little hard, but I can not solve it at all. Problem: I need to save a pdf file of a given spreadsheet in Google Drive. This file (pdf) must cover a certain area, because some columns of the worksheet can not be displ...
asked by 10.06.2015 / 04:44
1
answer

How to give a postback in the asp.net page with Javascript or Jquery

Today I have a function that calls the toggle method when I click on the tag it displays the panel in ASP.NET containing a dropdownlist and a gridview. I need every time I click the tag again in this case to close, give a post on the dropdownlis...
asked by 02.06.2015 / 19:22
2
answers

SVG file kartograph [closed]

Using kartograph, I want to load the SVG of this link: SVG . The first thing I noticed I was missing was the metadata tag. So I copied that tag from another SVG file, but the image still does not show up. Could anyone look at the svg file of th...
asked by 29.12.2014 / 21:24
2
answers

jQuery.ajax async parameter is deprecated, now what?

I'm developing a Javascript application and need to queue ajax requests, and I need one to be done after the other because they manipulate some variables in my scope. The async parameter of the jQuery.ajax is deprecated, how do the...
asked by 30.04.2015 / 19:21
1
answer

No 'Access-Control-Allow-Origin' header is present on the requested resource [duplicate]

I'm trying to do biometric authentication on a remote machine, using XMLHttpRequest. But it is returning the following message: XMLHttpRequest can not load link . In 'Access-Control-Allow-Origin' header is present on the requested resourc...
asked by 19.05.2015 / 17:33
1
answer

Constraints in the text field react

Is it possible for a text field to receive only the characters below? numeros | espaço | barra (/) | traço (-) The type field does not help me in this case, would it be nice to use the text type in this case?     
asked by 19.07.2017 / 23:37
1
answer

PHP can not read POST sent by JavaScript

I'm creating a login system for my site following tutorial , but I have a problem when I log in. Apparently, the JavaScript code does not pass the form parameters correctly. The login page code is: function hex_sha512(value) { // apenas p...
asked by 21.10.2015 / 01:51
1
answer

Save cropped image with JCROP pro Bank

Hello! I'm creating a user profile and to crop the image I'm using JCROP. It usually cuts to me, but I wanted to know how I can save this result in the image and the bank accept this clipping that has been done. <!DOCTYPE HTML> <...
asked by 25.07.2017 / 17:41
3
answers

Regex returns False when validating board

I'm trying to validate a car plate in the format: ABC1234 3 Letters and 4 numbers. let regex = new RegExp("/[a-zA-Z]{3}[0-9]{4}/"); let isvalid = regex.test('abc1234'); When I post to other sites, they recognize the word, but the above code...
asked by 07.01.2018 / 22:14