Questions tagged as 'javascript'

0
answers

Page redirect with JS and PHP inconsistent

I'm trying to redirect to a page using window.location.replace (). However, sometimes the page does not redirect. At first I thought the error was loading a google font, but even removing it, the problem persisted. JS / jQuery code $('#butt...
asked by 14.07.2017 / 14:26
1
answer

Problem with POST in Javascript + Ajax

I'm taking a test, and I need to develop a signup screen using the GitHub API link . .. Here is the code: //Add repositories on GitHub $('#add-repository').submit(function(e){ e.preventDefault(); $.ajax({ method: 'post', url: 'ht...
asked by 14.07.2017 / 21:00
0
answers

Highcharts JSP AND JAVASCRIPT

Good morning I'm doing a chart using the Highcharts library, I implemented it statically to run the tests, but now I need to pass the database information to it. I have read and saw that there are several ways, by XML, by Json. I wanted to know...
asked by 03.08.2017 / 15:10
1
answer

Effect on form (CSS)

Does anyone know if this type of input style of the site below has a name, I already saw this label transition effect in several forms but I did not find the name of this technique. Website: link     
asked by 02.08.2017 / 15:34
1
answer

JavaScript Parameters Passing to [Webmethod] C #

I would like to know how to pass parameters from a JavaScript call to an ASMX WebService Method without having to define a name for the parameters. Example: $scope.testar = () =>{ filtros ={ id:1, funcionalidade:02...
asked by 31.07.2017 / 15:17
0
answers

Manage files on the server?

I am making a server using NodeJS and Express and in it I am generating pdfs of reports. How do I manage these files, and when I talk to manage I mean having options like opening the pdf, downloading it and printing it. I am using the pdfMake li...
asked by 31.07.2017 / 14:28
1
answer

Problem with events in VueJS 2

I found a code at a time and modified it in pure javascript. It worked right. But now I have to do something similar to what he does in vue. The problem is that I'm half-new in the vue and have little time to finish. NOTE: Basically the funct...
asked by 18.07.2017 / 19:00
0
answers

Error in npm run watch - Can not read property 'install' of undefined

This error occurs when I do a "npm run watch". When I do a "npm run dev", it does not give this error. I have reinstalled all the npm and it did not solve ... any solution?     
asked by 18.07.2017 / 06:03
0
answers

Serve custom .js file on Express route

I have a home page for authenticated user that is served by router however this authentication is done via cookie if there is this cookie of "session" (created after user login and defined his path to root) any request other...
asked by 18.07.2017 / 03:26
0
answers

I can not show the error in my view

Well, I have a view and I can not show the error messages, the code is very large and put in a summarized form but needs some part I'm editing. Controller Before it was like this: if (!ModelState.IsValid) { return PartialView("InternalAud...
asked by 18.07.2017 / 15:37