jQuery is a cross-browser Javascript library that provides abstractions for DOM traversal, event handling, animation, and Ajax interactions for rapid web development.

learn more… | top users | synonyms

12
votes
10answers
9k views

Best approach for writing a chess engine? [closed]

I'm a chess enthusiast and a programmer. I recently decided to start making a chess engine using my chess and programming knowledge. So here's my question: What language (I'm familiar with Java, C++ ...
6
votes
1answer
383 views

How to contribute to jQuery?

I'm confused about the nature of the jQuery project. It can be licensed under either the GPL or the MIT license, according to the comments in the project. However, the jQuery web site provides a ...
1
vote
3answers
620 views

Next step after creating mock-up screens

I have created some mockup screens for my app in HTML/CSS. I have 4 screens in total. They contain no client-side coding i.e. Javascript or jQuery. The screens themselves are quite bland at the ...
3
votes
3answers
3k views

Best practices: Ajax and server side scripting with stored procedures

I need to rebuild an old huge website and probably to port everyting to ASP.NET and jQuery and I would like to ask for some suggestion and tips. Actually the website uses: Ajax (client site with ...
7
votes
7answers
6k views

Is it necessary to memorize code?

I am a new developer, who just got hired at a big company. I don't know how but I guess they are desperate. However, I am well-versed with HTML5/CSS3 though things change and new things are released ...
8
votes
3answers
1k views

Does it make sense to use jQuery in modern-webkit-only web applications?

I'm lately working on a few mobile web apps for Android (2.3+) and iOS (4+). Their browsers support most of ECMAScript5, which is very powerful, and I wanted to use language features where possible, ...
1
vote
1answer
855 views

use of script tag in different position of page [closed]

I found that sometimes the script don't run properly when I add script tag in the head section. But when I add script right before the ending tag of body it works fine. What is the difference between ...
2
votes
1answer
932 views

Making Modular, Reusable and Loosely Coupled MVC Components

I am building MVC3 application and need some general guidelines on how to manage complex client side interaction between my components. Here is my definition of one component in general way: ...
7
votes
4answers
4k views

Anonymous function vs. separate named function for initialization in jquery

We just had some controversial discussion and I would like to see your opinions on the issue: Let's say we have some code that is used to initialize things when a page is loaded and it looks like ...
1
vote
3answers
215 views

what is the difference between the below two syntaxes? [closed]

1. $(function () { function foo() { return true; } log(bar()); // getting error var bar = function() { return true; }; }); 2. $(function () { ...
7
votes
3answers
6k views

Backbone/JQuery, ExtJs 4… is there something else worth looking?

Im currently evaluating a front-end architecture for a big app that will be developed by a team of about 6 developers + 1 web designer so that said, having a robust SVN friendly architecture is a ...
13
votes
5answers
6k views

What are deferred callbacks?

I understand the idea of a callback, where I pass a function into another function and that function then uses the supplied function at will. I am struggling to understand deferred callbacks, even ...
2
votes
3answers
2k views

Is it better to learn the DOM or jQuery first?

I have gotten very familiar with the core functionality of Javascript and now I am aiming at learning DOM manipulation. I have already thought of learning jQeury for this but I don't know if it is ...
13
votes
3answers
21k views

Certifications for Javascript developers? [closed]

I'm looking for a solid and but fast paced entry in field of javascript development. The following topics come to my mind: Javascript advanced concepts, OOP jQuery, jQuery-UI, jQuery-Mobile ...
19
votes
4answers
1k views

Could JQuery and similar tools be built into the browser install?

After reading another question about JQuery and CDN's, is it feasible for tools like JQuery to "come with" the browser, thus reducing/eliminating the need for the first download from a CDN, or from ...
0
votes
3answers
433 views

API access question

FIRST, THE SCENARIO We have an internal system that is effectively split into 2 very separate parts across 2 sub-domains, our back-end administrative system for internal access only we will call this ...
2
votes
1answer
3k views

Rails - How to use modal form to add object in one model, then reflect that change on main page?

I'm working on a Rails app and I've come across a situation where I'm unsure of the cleanest way to proceed. I posted a question on SO with code samples and such - it has received no answers, and the ...
4
votes
2answers
908 views

Is mootools alternative of jquery + backbone / spine / sprouteCore

I was a full time java developer, now I'm also working with JavaScript and Android. A couple of years back when I started learning JavaScript, the first library I tried was jQuery. But it made my life ...
0
votes
1answer
234 views

Trying to do some Obfuscation, How should I approach this particular case?

I currently have an assignment that is really pushing my limits so I need some help on how to approach this. We have a set of 25 results We are using a jquery plugin to vertically scroll through ...
2
votes
2answers
564 views

How do I share my jQuery plugin with the world?

I made a plugin for jQuery, which I think is quite useful. It combines an animated colours plugin with an easings plugin, and adds a completely new feature of being able to refer to colours ...
11
votes
6answers
2k views

How can I write HTML, CSS, and JavaScript to make back-end developers work easier?

When I get a design from a designer, I get it as a PSD (Photoshop) file. I always expect proper layer and folder names, basically a clean and managed PSD. From this desigbn I develop HTML, CSS and ...
2
votes
1answer
776 views

How can I simulate clicks for a mobile browser?

I am creating a web app. I was testing it on a mobile browser and noticed that :active pseudo class doesn't really work. How should I simulate clicks for a mobile browser? I'm specifically interested ...
4
votes
2answers
1k views

Are there any frameworks available for drawing with CSS?

I realize this sounds silly. Let me explain: I just came across this page about using CSS elements to create shapes- square, circle, triangle, star, yin-yang (yin-yang!), etc. using pseudo elements. ...
0
votes
2answers
213 views

JavaScript (jQuery) And CSS Styling

Lets say I am building a jQuery plugin that has a number of non-configurable css attributes it needs to apply to DOM elements the plugin itself creates. Is it consider better practice to apply the ...
10
votes
4answers
518 views

Has the time gone to think about user with JavaScript disabled in browser? [duplicate]

Possible Duplicate: Should I Bother To Develop for JavaScript Disabled? In this Modern time of HTML5 API jQuery Modernizr HTML5 Shim Respond.JS Google Chrome app store Canvas Has the ...
5
votes
1answer
446 views

What would be the best way to manage a lot of jQuery code?

Sorry for the blunt question, I will try to explain further. I am going to have a website which uses jQuery, and I feel that at some point in time, there will be A LOT of jQuery code, meaning A LOT ...
30
votes
5answers
2k views

Javascript modularity, server based MVC & business reality

I understand this is a very broad question, but I have worked with various aspects of this problem individually and am struggling to bring all the concepts and technologies together. I'd like to ...
5
votes
4answers
7k views

Can I use jQuery Mobile if I am developing a native app?

I am new to jQuery and mobile apps development. I know the features of jQuery Mobile. I want to know where and why to use it. Can I use jQuery Mobile if I am developing a native app?
13
votes
2answers
3k views

Where does jQuery fit-in with frameworks like JavaScriptMVC, BackboneJS, SproutCore and Knockout?

I have been happily using JQuery for the last 2 years and have been quite sucessful creating some really cool functionality with it...so I am very comfortable with it. I also beleive the future of ...
29
votes
14answers
9k views

What benefits are there to native JavaScript development? [closed]

Given how much simpler jQuery development is, when compared to native JavaScript, what makes people forgo libraries like jQuery altogether? Is this because jQuery has limitations or it is slow? I ...
4
votes
3answers
2k views

Is using Javascript/JQuery for layout and style bad practice?

Many, but not all, HTML layout problems can be solved with CSS alone. For those that can't, JQuery (on document load) has become very popular.* As a result of its ease, many developers are quick to ...
4
votes
2answers
711 views

What is jQuery and JavaScript's role in MVC?

I'm not sure I understand the role of jQuery/JavaScript in MVC. I've found an article about it on A List Apart, but it doesn't clear anything up for me. Does it bridge the communication between the ...
0
votes
6answers
3k views

Mixing jQuery with JavaScript

I just asked this question at SO about some bugginess I am experiencing with jQuery and IE8, and someone commented that he was appalled that I would mix JavaScript with jQuery (he has since deleted ...
4
votes
2answers
256 views

Conflicting versions of jQuery in Separate Extensions

I have built a few browser extensions that live in GMail. Since they are larger extensions, they incorporate jQuery 1.6.x. I am using jQuery as a content script which means it is injected into GMail ...
4
votes
2answers
375 views

Is prototype.js still relevant?

I'm developing a web application which I started on about 2 years ago. It is an AJAX-heavy single page design and prototype solved problems where I didn't want to reinvent the wheel. I am using a ...
0
votes
1answer
838 views

Best practice for populating a dynamic popup menu?

I'm creating a dynamic popup menu whose contents depends on the state of what the user clicked on. Is it considered a better practice to create a template menu in html and modify which options are ...
2
votes
2answers
113 views

What are other technologies that are capable of creating Websites with Animation, Load Detailed Images & Cross Browser

I am a Junior Web Programmer who is tasked with redesigning our website. Right now the website is made in ActionScript using the FLEX API(so its Flash based). I am looking for advice on what ...
5
votes
2answers
609 views

How can I design an efficient moderation system for comments?

Here's the job I want to do: My project is a website where there will be a lot of comments. Those comments will be moderated: a moderator will connect, see comments and accept or refuse them. I need ...
14
votes
7answers
5k views

When to update jQuery?

When you recommend updating jQuery/jQuery UI? Or in other words: what are the best practices for updating jQuery/jQuery UI? I’m working on a long project that will take at least one more year. In ...
3
votes
2answers
1k views

Raw JavaScript or jQuery? Where to start from? [duplicate]

Possible Duplicate: How necessary is it to learn JavaScript before jQuery? I've been working as a back-end web developer for the last 2 years but since the beginning of this year, i'm ...
0
votes
1answer
959 views

With ASP.NET MVC actions, should I use web services?

In ASP.NET Web Forms if you want to use jQuery and call a method directly, you should either implement a web service, or use Page Methods. Also you can use Generic Handlers (.ashx files). However, in ...
7
votes
3answers
2k views

Benefits to starting JavaScript “for” loops at 0, or just traditional? [duplicate]

Possible Duplicate: Defend zero-based arrays I'm running code that loops through an array of HTML IDs. With the HTML IDs named content1, content2, …, content12, my loop looks like: for ...
9
votes
6answers
2k views

What made jQuery so popular? What is offers that other JavaScript libraries don't?

According to W3Tech, this link, this link, this link, and many other sources, jQuery is really becoming what IE experienced in the world of web browsers (gaining more than 80% of the market for a ...
1
vote
2answers
302 views

Difference between templates in JavaScript and design patterns

What is the difference between templates and design patterns in JavaScript? I read about the template method design pattern and now I wonder how it relates to JavaScript templates (if at all).
1
vote
5answers
2k views

ASP vs javascript vs jQuery vs User Controls vs AJAX

Increasingly when developing sites I find myself utilising more client side technologies such as Javascript, jQuery and AJAX. For three different pages I measured the size of the HTML sent to the ...
6
votes
3answers
2k views

Should jQuery DOM manipulation be avoided in favor of JavaScript template engines?

From what I can tell, most developers will use heavy jQuery DOM manipulation tactics to deliver their updated AJAX views. Once things get out of hand, they may consider refactoring using template ...
9
votes
4answers
1k views

Did jQuery kill the JavaScript discussions? [closed]

There are over 100,000 questions on Stack Overflow tagged as questions relating to JQuery troubleshooting/usage. Compare this to the 124,000 questions on stack overflow that are tagged for JavaScript ...
7
votes
5answers
354 views

What do you do to make the client understand that requirements not mentioned in contract should be charged separately? [closed]

I've done a very small project for a specified amount of payment. The project was some client-side validation code. However, now client asks for code improvement (general code improvement including ...
3
votes
2answers
1k views

How to organize Javascript and AJAX with PHP?

My javascript is getting out of hand for my PHP application. I have 20 tags that link to various javascript files in a javascript folder. Each javascript file basically controls one element on the ...
3
votes
3answers
430 views

jQuery - programming style - many bindings vs. conditional single one

I frequently see code like that: $("#foo").live("mouseover mouseout", function(e) { if (e.type == "mouseover") { $("#foo").append("<div id='bar'>"); } else { ...