Tagged Questions

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

7
votes
3answers
5k 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 ...
3
votes
2answers
493 views

How is the speed of a page affected? [closed]

I am trying to develop a single-page web application. I was wondering how big the disadvantages of using jQuery are. I have been told that it makes the application slower, but, as I have seen here, ...
13
votes
5answers
4k 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
1k 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 ...
8
votes
3answers
13k 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
957 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
349 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
881 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
191 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
514 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
1k 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
593 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
200 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
486 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
358 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 ...
29
votes
5answers
1k 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
6k 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
2k 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 ...
25
votes
14answers
7k 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 ...
3
votes
3answers
1k 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
625 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 ...
-1
votes
4answers
368 views

What are the options for simple Ajax calls for a Java webapp? [closed]

I've got a very simple need and I don't know what are the options available. If I simplify, users see webpage like this server by a Java webapp server: [-] red [x] green [-] blue [-] yellow ...
1
vote
5answers
2k 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
250 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
349 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
662 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
109 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
507 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
4k 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 ...
2
votes
1answer
203 views

Is there a “SMACCS” for jQuery? [closed]

I find my usage of jQuery scaling in proportion with user expectations and RIA app. development. Problem is, I'm no jQuery Guru. I am looking for some nice practices that also do not require a deep ...
3
votes
2answers
975 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
843 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
1k 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
273 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
1k 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
1k 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
343 views

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

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
910 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
363 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 { ...
4
votes
2answers
3k views

Best JavaScript Coding Structure Using Object Literal?

Object Literal has no doubt been established in recent years as one of the essential components to best JavaScript coding practices. However, I am not very sure about what is the best way to structure ...
5
votes
4answers
948 views

Is there a book for learning Javascript -> DOM -> jQuery? [duplicate]

Possible Duplicate: The importance of javascript and the best way to learn it? I would like to learn Javascript, the DOM model and jQuery. I've found many recommendations for books for ...
3
votes
3answers
2k views

How to handle large scale js+jquery projects using well written, Object-Oriented JavaScript and jQuery code?

I love the whole user experience/interface thing and put a lot of jQuery and JavaScript (pure JavaScript for HTML5 stuff, like canvas, file API, etc). The problem I face now is that my codes are ...
3
votes
2answers
1k views

N-Tiered Web App Using JQuery/ASP.NET Web Services

For fairly small, non-complex web applications, we have utilized jQuery to make asynchronous calls to an ASP.NET web service for interaction with our Sqlite data store. This has proven to be a pretty ...
9
votes
6answers
678 views

JavaScript - Why do frameworks bind to $() [closed]

Disclaimer: I know there is no strictly correct answer to this, but I've come across something that does not make sense to me, and I'd like to try to understand it better by seeing what other people ...
12
votes
5answers
672 views

Pros and cons of hosted scripts [closed]

I have seen some developers use hosted scripts to link their libraries. cdn.jquerytools.org is one example. I have also seen people complain that a hosted script link has been hijacked. How safe is ...
1
vote
4answers
1k views

Is JQuery or Javascript capable for image processing?

My plan is to develop a web based application in the future. I think I can name it "Booth Reservation System" for the Events companies here in our country. One of the main functionality of the system ...