JavaScript is the original and common name applied towards most flavors of a scripting language that originated on NetScape Navigator. Use this tag for questions regarding common implementations of ECMAScript, JavaScript, JScript, etc. JS does not typically refer to its ECMA-cousin, ActionScript.

learn more… | top users | synonyms

2
votes
1answer
226 views

Power of HTML5?

HTML5 is becoming more and more popular everyday. Many great online applications are now being created and described as pure HTML5 apps. (Like Muro) But I don't understand what is exactly so cool ...
0
votes
0answers
54 views

Best option to send image from javascript client to SQL server

From a client (browser), using javascript I want to send an image to sql server ( and store with user profile) (sql server), along with other data such as user id or name. Which option is better? ...
0
votes
1answer
101 views

JavaScript static methods retrieval

I have been thinking about it and wanted some feedback, recently I thought about doing it like this: function foo(){ if ( !foo.prototype.statics ){ foo.prototype.statics = { // ...
0
votes
2answers
206 views

Is $.proxy a code smell?

I've been writing most of my javascript applications in an OO style close to what I would use for most other languages. However, this means that most callbacks need to have a reference to an object, ...
2
votes
2answers
193 views

Client side web development, general question

I'm a novice web developer, mostly worked with ASP.NET. On the server side, everything is very well documented and whenever there is an error, you get an explanatory error message. But on the client ...
-1
votes
1answer
169 views

Is a web programmer supposed to know how to make anything a website may require? [duplicate]

I mean, maybe someone knows how to make a simpler ecommerce website, but doesn't know for example how to make a custom facebook like chat etc.. (or whole facebook for that matter). So, is a web ...
0
votes
1answer
53 views

Securing client side templates [closed]

I'm building a web application with backbone+mongo+node.js The current implementation uses mostly client side templating with backbone.js to render the pages. Since the templates have to be located ...
1
vote
1answer
113 views

Security in Authentication in single page apps

What's the most secure method of performing authentication in a single paged apps? I'm not talking about any specific client-side or server-side frameworks, but just general guidelines or best ...
1
vote
0answers
80 views

Expanding on vendor software?

I am a SCADA consultant and I work with many software packages. Due to their robust nature they include the capability of executing internal/external activex and vbscript code. Over the years I have ...
-2
votes
2answers
137 views

Is it reasonable to use Javascript MVC Frameworks for closed source paid web applications?

I am wondering if it is reasonable to write closed source, paid web apps in Javascript (JS MVC Frameworks like AngularJS, Backbone, Knockout, ...)? I'm concerned because in this type of frameworks you ...
-1
votes
0answers
74 views

JavaScript on an IT industry website [closed]

I am a non-programmer and seek your advice. A friend provides IT staffing help to IT companies and is redoing his own website. The firm he hired is doing the home page in JavaScript. Will most IT ...
1
vote
2answers
105 views

Where's the separation between Presentation and Logic in Javascript MVC frameworks?

I had learned that following piece of code is bad because it is obstrusive javascript and mixes presentation with logic: <a href="" onclick="archive()">archive</a> The best practice was ...
3
votes
4answers
218 views

Function that modifies an argument, should I return the modified object?

We have a function that modifies a JS object, by adding some custom properties to it. The function doesn't return antyhing addTransaction: function (obj) { obj.transactionId = ...
-2
votes
0answers
72 views

What is wrong with my Javascript Calculator? [closed]

I made a JavaScript calculator to calculate the price for counseling. I had it working in the old webpage and I'm converting to Drupal 7. Even though it worked before, I'm recieving an error now. ...
8
votes
2answers
267 views

How does Javascript code become asynchronous when using callbacks?

I've been doing a lot of reading online trying to figure out how to write asynchronous JavaScript code. One of the techniques that has come up a lot in my research is to use callbacks. While I ...

1 2 3 4 5 48
15 30 50 per page