Tagged Questions

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
0answers
15 views

How to filter a kendochart based on tree-view check-box? [migrated]

I am working on a project using Kendo UI. In my project there is a treeview with checkboxes on the left side and a Kendo chart on the right side . The chart datasource needs to be filtered based on ...
-1
votes
2answers
122 views

Javascript - starting off [closed]

Ok I think this question has been answered, but I would like to ask in a different way to the pro-javascript ninjas on Stack Exchange. If you were to advice a newbie web developer but a seasoned ...
4
votes
3answers
124 views

Compiling multiple languages and Javascript

I have read numerous times that programming languages when making games or large software often use multiple languages / scripts together. I'm wondering how that works. How do they compile it? How ...
-1
votes
0answers
17 views

JavaScript: How to Rotate/Slideshow Text DIVs on page? [migrated]

I am trying to modify the script below to slideshow/rotate through a handful of text DIVs. I need these DIVs to appear in order-- div 1, then div 2, then div 3. Each would appear for 5 seconds, then ...
2
votes
5answers
133 views

Is it possible to half-way synchronize javascript functions that include async calls?

I am wondering if there exists a way to half way synchronize javascript functions, where data is requested on the fly. I don't want to make it purely blocking (which I guess is impossible), I just ...
-2
votes
2answers
140 views

Why use twitter flight? [closed]

Today I came across a new js framework by Twitter, twitter flight. https://github.com/twitter/flight ...lightweight, component-based JavaScript framework that maps behavior to DOM nodes. Twitter ...
2
votes
2answers
123 views

JavaScript…what to unit test

I would like to hear other people's opinion on what to unit test in JavaScript. I've been thinking about it and experimenting and let me present what seems to me the right thing. First of all, in ...
0
votes
1answer
88 views

Which open source javascript projects to look at to learn how to write large programs in the language [closed]

I have quite a lot of experience in large scale development in Java. However, I want to learn how to do so in JavaScript. Could anybody point me some great large (> 20KLOC, or even > 100KLOC) open ...
0
votes
3answers
187 views

Is this a variant of the Module pattern?

What is this pattern called? Is this a variant of the Module pattern? I remember there's disadvantage to this pattern and it's related to memory usage. var module = function() { this.Alert = ...
-4
votes
0answers
54 views

What are the most important webdev libraries, APIs, features or tools? (other than jQuery) [closed]

I'm new to Web Development and am trying to get a feel for what's out there. What do you find to be the most useful resources when working in web development?
0
votes
0answers
82 views

What is Highcharts using to generate their JavaScript api documentation? [closed]

The Highcharts 3.0 beta was announced today and there's a healthy discussion occurring on Hacker News. In the thread of comments about the release was a comment from Torn about what Highcharts is ...
-5
votes
0answers
34 views

Html 5 Form Shims [closed]

Can anyone recommend shim/shims for the new input types? The ones I especially need is number, datetime, date, time
21
votes
5answers
1k views

How do I convince my boss (and other devs) to use/consider Unobtrusive JavaScript

I'm pretty new in our develepors team. I need some strong arguments and/or "pitfall" examples, so my boss will finally understand the advantages of Unobtrusive JavaScript, so that he, and the rest of ...
0
votes
1answer
86 views

Value of frameworks for mobile web applications [closed]

Longer version, see below for the TL;DR As a developer with a strong background in the development of "classic" web applications I have been thinking about mobile web application architectures. One ...
0
votes
2answers
58 views

Encapsulate external JavaScript library

I am about to develop a ASP.NET MVC 4 project that will make use of maps. Our company has it's own map API which is very basic at the moment, but is intended to be further developed in future to match ...
-2
votes
0answers
84 views

Most important Javascript concepts / topics to learn JS frameworks [closed]

I was a beginner Javascrpit learner. Now I felt I have enough knowledge of raw JS. So, I wanted to learn some Javascript framework like Node.js , jquery. I was wondering that which concepts/topics ...
-1
votes
0answers
59 views

Requirejs vs Google Closure For Javascript Dependency Management [closed]

I tend to lean towards requirejs because there is great tooling ( see my project agilejs to see several tools composed together forming a useful toolkit: http://github.com/davidjnelson/agilejs ) and a ...
0
votes
1answer
46 views

Creating a text input simplifaction tool

I have been working on a project for several months now to write a web-based tool that will help me at work. I work at a call center and the CRM software that is used is wretched, we basically have to ...
0
votes
2answers
117 views

What is this variation of MVC in JavaScript?

I am working on sorting out my Javascript code. Currently I have views implemented without any Model or collection. Now I working on separating Model from View. So for this transformation, I am ...
2
votes
1answer
99 views

Searching for text within a webpage

I'm currently designing a search algorithm for a document, and just got curious about this while designing the algorithm: how do web browsers search a webpage? For example, in Google Chrome, you can ...
0
votes
0answers
22 views

Javascript template engine for generating new HTML for insertion to the DOM [closed]

I have a template that looks like this: <div class="users"> <a class="username">{{ username }}</a> <br> <span class="age">{{ age }}</span> </div> ...
4
votes
1answer
134 views

Is it called an instance in Javascript?

Say I have a function. function foo(){ //do stuff } And then I create an object of that function. var fooObj = new foo(); What is fooObj called? An instance, An object instance, or something ...
-1
votes
0answers
42 views

Crawl a site for Javascript Errors for debugging purpose [closed]

Is there a tool that can crawl a site (just locally in you own browser), that can discover Javascript Errors and save them in a log? It could be really could to easily catch Errors, when you for ...
5
votes
2answers
292 views

Are side-effects in Array's “every”, or “some” bad?

I've always been taught that having side-effects in an if condition are bad. What I mean is; if (conditionThenHandle()) { // do effectively nothing } ... as opposed to; if (condition()) { ...
-1
votes
2answers
137 views

What are some interview questions I can expect for a technical evaluation? [closed]

I am 20 years old and I've been doing some web development work for about 2 years or so. I have an interview for a Junior Web Developer position and the company knows that but I'll still be going ...
-2
votes
1answer
52 views

Mobile Javascript Coding Standards Cueme browser

Is there a more generic Javascript Standard of Mobile Handheld devices. I could refer to the following links for generic standards. http://javascript.crockford.com/code.html or ...
-1
votes
1answer
81 views

What do I need to know re. Javascript frameworks? [closed]

I recently asked this question on SO, which quickly became downvoted and closed. Clearly I lack a deeper understanding of JS, which I'm hoping you'll help me fill here. I'm a perfectly capable web ...
4
votes
1answer
211 views

Functional reactive programming — is Fay expressive enough?

So I'm doing a fairly involved javascript/html client with lots of ajax calls and other involvements of callback-ism. I'm entertaining the thought of using Fay for this purpose. I'm aware of Elm. ...
2
votes
1answer
75 views

How to dynamically add new posts once they are created

I am trying to design an application where users can make posts with Django on the backend. Right now I have to refresh the page with JavaScript every 20 or 30 seconds to check for new posts that ...
0
votes
0answers
45 views

Extjs File upload response and Java spring [migrated]

I have extjs code which will create the form and it allows the user to choose the file to upload to the server. below is the extjs code. var fp = new Ext.FormPanel({ renderTo: ...
2
votes
1answer
107 views

Shift Javascript framework - What pattern is this? MVP, MVC or something else

I have created a very tiny framework to be able to get away from all the clutter while developing. The point of the framework is not to replace any library of choice but simply segregate the code to ...
1
vote
3answers
140 views

Server side JavaScript rendering

I have almost a 'best-practice' question that's been nagging at me for a while. When I use JavaScript libraries and APIs such as JQGrid or Google Maps, I tend to find myself creating server side ...
35
votes
6answers
2k views

How safe are hidden AJAX requests that fake performance?

What is a hidden AJAX request? I've noticed an increase in the usage of hidden AJAX requests designed to make a user's action appear to happen immediately. I'll refer to this type of AJAX request as ...
-2
votes
0answers
66 views

Need direction as I migrate towards HTML, JS & CSS - books? [closed]

I have been spoiled too much by ASP.NET WebForms all these years. Now that I need to create a complex application in ASP.NET MVC, I need to really learn HTML, JS & CSS. While previously I could ...
-2
votes
0answers
34 views

Appending textbox values in a link in html and javascript [closed]

<script type="text/javascript"> function OpenWindow(info) { var fname id=f1.fname.value; var ftype=f1.ftype.value; var fsize=f1.fsize.value; var fcolor=f1.fcolor.value; ...
0
votes
0answers
42 views

How do I validate a number in the box if the number should be greater than 60 (using javascript)? [closed]

<html> <head> <title>Mobile number validation using regex</title> <body> <script type="text/javascript"> function regIsDigit(fData) { var reg = new ...
7
votes
3answers
224 views

Does javascript support numerically indexed arrays with a more optimized algorithm than an associative array?

I know that Python, Perl, Java, Lua and obviously C (as it's the only array that's in ANSI standard afaik) support faster looking of numerically indexed arrays than doing a hash lookup or anything ...
-4
votes
0answers
62 views

How to connect with accdb via Javascript? [closed]

How can i connect with Microsoft Access db, via javascript?. I want to read/write and update records via Javascript. Can anyone help me out of this?
-2
votes
0answers
76 views

What are some good examples of client side JS? [closed]

I've been doing web development for about a year now and I've never really had any education on Javascript best practices. I've tried browsing the javascript files of big sites like Google and Amazon ...
-2
votes
0answers
54 views

JavaScript Social API [closed]

I am looking for an open source JavaScript API to multiple social networking sites (Facebook, LinkedIn, Twitter) similar to what AddIn Social does. The server-side component should be able to run on ...
2
votes
2answers
657 views

Is node.js a suitable server platform for financial applications?

Are there specifically any math related issues with Node.js and money that could cause my system to lose track of some of the money it's tracking? The reason that I ask is that PHP, because of it's ...
-3
votes
0answers
14 views

Navigation bar downstate help [migrated]

I have been trying to make a navigation bar from jQuery. The nav bar I want does not come with information for a "down" / active state. I have been researching and trouble shooting for awhile but ...
1
vote
1answer
64 views

Node.js app private modules. Where to put them?

The situation would be: I develop 2 projects in my Node.js development environment, P1 and P2. P1 required the development of two simple modules, mod1 and mod2, which are stored in P1/lib. Each one ...
0
votes
1answer
206 views

How to structure our Javascript so that it is easily editable, testable, and can make calls to render a view without knowing specifics about the view

I am working on a web app that displays some data and uses javascript. Right now, we are serving up parts of our js (to display certain types of information, ie "Render a View") via our server which ...
4
votes
2answers
184 views

How does authentication work with ASP.NET (using Live ID and\or Windows Authentication)

I'm primarily a .NET desktop app programmer. Coming into the web world has been difficult. I'm trying to convert one of my Silverlight apps into HTML. But I'm having a hard time figuring out the ...
1
vote
4answers
277 views

NodeJS as an avenue towards learning JavaScript [closed]

I'm a backend programmer who works mainly in Python. I'll probably never want to be a full time front end developer, but with the goal of growing my skill set, I would like to become at least passably ...
-2
votes
2answers
258 views

Should we migrate to the twitter bootstrap typeahead autocomplete script? [closed]

django-autocomplete-light is an app that I maintain. Currently, we use a home-made autocomplete.js script which is pretty cool. Also, I made another version forked from twitter bootstrap ...
2
votes
0answers
99 views

Tools for finding unused files in web application [closed]

Is there any tools to find unused js, css and image files in web application? Something like Resharper for these files. I've a web application developed by someone else; He has included a lot of js ...
0
votes
1answer
121 views

JavaScript refactoring tool [closed]

I'm on the process of refactoring a large JavaScript application, which has a lot of repeated functions with 2 or 3 different parameters, a lot of global variables used in several modules, etc. Which ...
0
votes
0answers
83 views

How to handle refactoring? [closed]

I have a code which has a start() function that executes every cycle. In it I call a pause() function here and there. I now have to become more smart of the way I call the pause() depending on some ...

1 2 3 4 5 14