Questions tagged as 'javascript'

0
answers

How the Express Router Function Works

To use middleware in Express, I type the code below: var express = require('express'); var app = express(); app.use('/', function(req, res, next) { console.log('Middleware!'); }); However, I realized that it is also possible to do thi...
asked by 01.05.2016 / 16:42
1
answer

Form validations in HTML5 behave differently in Firefox

I was trying to find a better title for this question, but I still do not know how to explain it, but come on. I have a simple form with three fields, if I miss one of them I will be shown a tooltip saying that the field needs to be filled co...
asked by 06.05.2016 / 13:33
0
answers

Confirm ERR_CACHE_MISS form return when returning to previous page?

Personal after I fill out a form and send it to the database via POST , and after that I go to another page, when I return to this form by the browser " <- " this error occurs on the screen: "Confirm resend of the form ERR_CACH...
asked by 18.05.2015 / 16:20
1
answer

JavaScript style buttons

I'm trying to do on a page, that buttons that are clicked change their style and also show a div when clicked. Only that they must be mutually exclusive, that is, when I click on one, only the div attached to the button should be displayed and o...
asked by 11.05.2015 / 23:26
0
answers

Multiplatform mobile development [closed]

I am a .Net developer (MVC, WPF, MCF) and need to develop a cross-platform mobile project, I did a search and found that there are several frameworks such as PhoneGap, Apache Cordova, Ionic, Lungo and others. I've found that most framewo...
asked by 18.06.2015 / 15:28
1
answer

uploadify does not upload

<script type="text/javascript" charset="utf-8"> $(function() { $('.startupload').click(function(event) { console.log('teste'); $('#file_upload').uploadify({ 'uploader' : '../_SWF/up...
asked by 12.06.2015 / 20:31
0
answers

Verify that one user is following the other, using the SC (sound cloud) API in Javascript

I'm developing a web page where this page will be using the SC SDK API . What happens, is that I am not being able to use the function to check if one user follows the other. In the case, the user would log on the page and a function would chec...
asked by 22.09.2015 / 15:34
2
answers

Calling in jQuery function does not find file

I made a jQuery function and in the passage of the URL it is not finding the file. I found it strange that he did not find it because the file exists. Every call I have inside the site is always the same, either src or href , the...
asked by 23.09.2015 / 15:43
2
answers

Resizing image with Canvas and JavaScript

How to reduce the size of an image with JavaScript ? I'm using canvas to resize, reduce size in proportion and converting to jpeg . The problem occurs when I try to save the image, since I can not download it converted to jpe...
asked by 12.02.2015 / 16:51
0
answers

Catching a JSON using JavaScript [closed]

Django creates a file named views.py , in which I have the following function: def carro_view(request,carro_slug=None): evento = Evento.objects.filter(time = '11:28:30').distinct() data = [] for x in evento: data.append({...
asked by 09.02.2015 / 17:19