Questions tagged as 'javascript'

1
answer

What are web workers and how to use them

Through searches I understand that Web Workers allow the concurrency of processes in JavaScript. It would be like firing a thread JavaScript that updates the View . Can you consider the adaptation of the MVC pattern to JavaScript? I woul...
asked by 14.01.2015 / 20:36
1
answer

What are the implementation differences between the Browser console and the NodeJS console?

Yesterday I was using a MooTools class in NodeJS and I encountered strange behavior in console.log of NodeJS. The code works beautifully but the console does not show what I know is there. For example doing: function FN(nome) { t...
asked by 07.04.2015 / 08:52
1
answer

Validation of Form with JQuery

I'm a beginner in jQuery and I'm having a hard time doing a form validation with jQuery for the CRM of a church that is as follows : I have an HTML code that is part of a CRM that I'm developing. In this HTML I have a form with on...
asked by 16.08.2016 / 19:24
2
answers

How to check if the document marking is HTML5?

I'm creating a plugin and I need to know if the document is written in HTML5 or not. I thought of using document.doctype , but I'm not sure what to compare it with since it compares with '<!DOCTYPE html>' false, because it'...
asked by 19.08.2015 / 22:26
1
answer

IF issues in javascript

I'm a beginner in Asp.Net MVC, and I'm developing an application that manages Courses and in my sign up screen I'm trying to validation javascript that if the student is already enrolled in a course and he tries to enroll again in...
asked by 29.06.2015 / 18:34
1
answer

How do I know if a feature is in the browser cache?

Is it possible to discover, via JavaScript and without any additional HTTP requests, whether or not a particular feature is in the browser cache? And if it is, get it also without this requisition? In my understanding, when the server submits...
asked by 13.09.2014 / 01:25
3
answers

What is void in javascript?

I could see a javascript code that had the following code: if (context === void 0) { // faça algo } I do not understand what this snippet of code means or what it does. The only time I used void was to create blind links So:...
asked by 01.08.2015 / 18:57
1
answer

What is and how does the context in Javascript work?

Essential part of Javascript, every function in Javascript has context, how does it work, how does it manipulate it, and what changes in the strict mode ( 'use strict' )?     
asked by 11.03.2014 / 23:53
2
answers

Insert into multiple input fields in different tables [closed]

I have the fields of date, CNPJ, latitude, longitude, site, facebook, on the same screen, only they are 3 different tables, how do I give insert from them from the same button ?? I use to save information but not all fields are required....
asked by 20.09.2016 / 14:05
0
answers

Recalculate route with Google Maps API [closed]

I'm doing a monitoring application. I wanted to send an alert in the Javascript Maps API when the user changed the route or the route was recalculated. I would like to know how to calculate the route change. Thank you.     
asked by 04.04.2016 / 19:09