JavaScript Journal

Subscribe to JavaScript Journal: eMailAlertsEmail Alerts newslettersWeekly Newsletters
Get JavaScript Journal: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Latest Blogs from JavaScript Journal
“Once a bit player, JavaScript increasingly takes center stage. Its footprint—the space it takes up on our servers and in our development schedules—continues to grow. So how can we make our JavaScript more reusable and easier to maintain? Perhaps MVC will offer some clues.” - Great int...
I’ve seen quite a few posts on jQuery and SharePoint lately. I haven’t seen too many people point this out (maybe I didn’t search well enough :) ), so I thought I would take a quick minute to remind you to use jQuery’s noConflict() method in SharePoint.  It appears somewhere in al...
In most written media, time progresses as you move down a page: mainstream computing languages are no different. Anonymous Closures are a language mechanism that, effectively, lets programmers create new control structures. Although people associate this power with exotic dynami...
Although the days of long and tedious code branches to target specific browsers in JavaScript are over, once in a while it’s still necessary to do some simple code branching and object detection to ensure that a certain piece of code is working properly on a user’s machine. In this ...
JavaScript libraries are awesome - they make it possible to develop cross browser coolness without going completely insane working around all the incompatibilities. The trouble is, we’re talking about JavaScript libraries. Instead of working around differences in browsers, now you work...
Style your document with separate elements for javascript enabled users, non-javascript users and common elements that both will need.
Performer is a set of JavaScript functions which aims to abstract away the complexity inherent in JavaScript libraries such as jQuery, Prototype and MooTools. We don't aim to replace these libraries - they do a fantastic job and are very much needed - but we do aim to make it easier to...
Javascript testing does not scale well, so to solve the problem, John Resig is unveiling TestSwarm. It's a JavaScript client that continually pings a central server looking for more tests to run
Javascript libraries have become fundamental to good web design, almost all ste nowadays have some element of javascript or Ajax present. It is probably the main element in developing the Web 2.0 movement. There are many Frameworks, which do you prefer?
JavaScript is an extremely useful scripting language for enhancing user experience and usability. It is becoming more and more popular as more developers begin to make cool techniques accessible. Here are 100 excellent JavaScript (and a few AJAX) techniques, plugins, and resources base...
Time after time I find JavaScript code that has bugs caused by lack of proper understanding of how functions work in JavaScript (a lot of that code has been written by me, by the way.) JavaScript has functional programming characteristics, and that can get in our way until we decide to...
After posting cobra, one of the things I heard most was “don’t try to make JavaScript be something it’s not”. This is good advice, but I feel that in this case it was given too hastily. Cobra did not come out of a desire to make JavaScript more like Python, even though that was the res...
When used effectively, JavaScript debuggers help find and squash errors in your JavaScript code. To become an advanced JavaScript debugger, you’ll need to know about the debuggers available to you, the typical JavaScript debugging workflow, and code requirements for effective debugging...
JavaScript 1.8 is part of Gecko 1.9 (which is incorporated into Firefox 3). This is a less substantial update than JavaScript 1.7, but does have some updates to track progress toward ECMAScript 4/JavaScript 2. This release includes all new features specified in JavaScript 1.6 and JavaS...
This article will show how to inject JavaScript and css into an Ajax partial postback response. If you have started using Ajax, you may have noticed that during an Ajax postback, only items inside the updatepanel are refreshed. This is known as an Ajax Partial Postback or an Ajax Par...
Here's another pet hate in web bad-practice: Javascript. Javascript is a client-side scripting language that allows really useful interaction to occur with the page and the browser, thereby improving the end user experience when using a site. It's very easy to insert Javascript in a pa...
If you have used Java as a programmer, then you have likely tried to make comparisons to JavaScript. As comfortable as it is to stick to what you know, it can get you into trouble quickly. After thinking through a problem carefully, you begin programming, only to realize what you want ...
arguments is the name of a local, array-like object available inside every function. It’s quirky, often ignored, but the source of much programming wizardry; all the major JavaScript libraries tap into the power of the arguments object. It’s something every JavaScript programmer should...
One of the features of Javascript is closures , Javascript closures keep the local variables of a function even after it returns.
Libraries have been a huge contributor to the surge in popularity of JavaScript in the last few years. JavaScript developers have had the cumbersome tasks lifted and have been able to get back to business in developing interesting solutions to interesting problems. I've been thinkin...
I became a bit of a JavaScript fanboy while writing Simply JavaScript last year, so it was especially thrilling to get to sit down with Douglas Crockford—possibly the world’s biggest JavaScript fanboy—and geek out on our mutual love of JavaScript at Web Directions South 2008 a couple o...
Following up to my previous post on Client-Side Javascript, I will be discussing a popular JavaScript framework called JQuery. JQuery is quite small in size (15kb) and this is a big reason that it appealed to me. For large desktop-like web applications, try out the extensive library o...
Depending on who you talk to, JavaScript is probably held in a very different light. On one hand it's responsible for a lot of the browser exploits and popups that make the web irritate like a rash. It's also a language that didn't always have great IDE and debugging support which made...
Douglas Crockford’s “JavaScript: The Good Parts” qualifies among the top 3 books on JavaScript ever written. Its concise, terse and full of gems, which you otherwise have to glean from the stacks of information out there on the web. Yahoo! also published a video, where Douglas Crockfor...
Ajax has been around for yonks now and it’s not news. However, many people seem to still shy away from learning JavaScript. Having JavaScript or more specifically ECMAScript under your belt is really beneficial. JavaScript is used in many areas other than the browser; ActionScript, Fir...
Thanks to the Web’s widespread adoption of JavaScript, JavaScript libraries have sprung up to help make design and development easier. Here are a few of the major JavaScript libraries that developers use: jQuery, Prototype, Scriptaculous, mootools, Dojo. These frameworks have thriving ...
JavaScript Benchmarks aren't adapting well to the rapid increase in JavaScript engine performance. I provide some simple tests for verifying this and propose a modified setup which could be used by all JavaScript Benchmarks to achieve high-quality results.
It’s always good to consider all of your options before settling on a JavaScript framework that’s right for you and/or your team – and though there’s definitely a lot of compelling reasons to stick to the big names – it won’t hurt you any to at least try the alternatives. This artic...
Up until lately, I had a grudge against JavaScript. Mostly because my initial experiments with JavaScript was in browsers to manipulate the DOM, validate html input etc. All done in now old and gone browsers, with lousy JavaScript support. After fighting with it back then on several oc...
JavaScript is a scripting language produced by Netscape for use within HTML Web pages. JavaScript is loosely based on Java and it is built into all the major modern browsers. This tutorial gives a complete understanding on JavaScript.
This week I experienced something that made me feel more confident about the viability of JavaScript as a first-class language in ASP.NET development. And I'm not talking about JavaScript's capabilities — those I have re-discovered long ago — my concern had always been how well other d...
One of the pitfalls of using a JavaScript framework, especially among beginners, is the ability to quickly lose sight of what is specific to the framework, and what is specific to the core JavaScript language. However, as bandwidth constraints continue to dissolve, and browser compatib...
One of the early technology decisions we made on Stack Overflow was to go with a fairly JavaScript intensive site. Like many programmers, I've been historically ambivalent about JavaScript:
"JavaScript, with its death grip on the Interwebs and every AJAX developer's language of only choice, is getting hot. With roll-overs, pop-ups, and menus either solved or relegated to CSS behaviors, XMLHttpRequests have made JavaScript once again a language of innovation. This article ...
As you can see the result in this survery of which is the most popular javaScript and Ajax framework, 356(52%) out of 690 web developers voted for jQuery as the best javaScript and Ajax Framework.
"JavaScript: The Good Parts is about the good parts of JavaScript and how to use them. This book takes a realistic look at the strengths and weaknesses of JavaScript and tells you how to use it to its best advantage. The code samples deal with the language and its merits — creating web...