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

0
votes
0answers
30 views

Include exceptions in the first letter capitalization with jQuery [migrated]

I got a plugin to capitalize inputted text with jQuery and corrected his regular expression in the option Pascal, for the correct processing of accentuated words, after read a discussion here of the ...
-2
votes
0answers
28 views

Working with multiple same elements jQuery [closed]

I don't know if the title describes the problem correctly so the problem is as follows. If I have multiple elements with same classes or the elements are same like: <a href="Link"><img ...
9
votes
3answers
286 views

Object Oriented Programming in JavaScript. Is there life without it? [duplicate]

At our company we have pretty large body of PrototypeJS based JavaScript code, which we are porting to jQuery for several reasons (not really important here). I'm trying to set up coding guidelines to ...
-4
votes
0answers
38 views

Function called multiple times on click [closed]

I am using the following code to convert unoredered html list into a select drop down list: jQuery(document).ready( function($) { //build dropdown - main navigation $("<select ...
-1
votes
0answers
48 views

jQuery - looking for a component akin to a mind map [closed]

I've jQuery just a few times and am hoping there's a component which functions as you can see in the screenshots below - click the '+' to expand the sub-topics, click '-' to collapse them, etc. Can ...
0
votes
0answers
60 views

Unit Tests for Database Abstraction Layer

I previously asked this question about creating an algorithm for joining records from multiple databases, and since then, I have built a rudimentary version of it (which doesn't allow for inter ...
-4
votes
0answers
33 views

PhoneGap and JQuery [closed]

I want to develop an application using eclipse and PhoneGap and JQuery but i get a validation error when i create a phonegap project and include JQuery library . Can you please help with that ...
-1
votes
1answer
40 views

client side code set up and why use apache web server [closed]

Trying to get a better understanding of the current project set up and want to know if there is an easier set up. The project is set up a 2 different components, one project contains the client side ...
-4
votes
1answer
77 views

Making <li class=“”> active and inactive [closed]

I have a simple html page in which i'm including header.php, footer.php files. In this page there is a sidebar which is styled by css. I want to take this sidebar out and include it through php ...
-1
votes
1answer
40 views

ASP.net extended with client side operations [closed]

What is the best way to "extend" my ASP skill set to include more client side orientated actions. I am developing the growing need to do things "faster" , without post backs... I am talking about UI ...
-2
votes
0answers
21 views

Use pushState and asp.net webforms with localization [closed]

I'm having a hard time looking for a sample code how to implement pushState in my webform project. Is it not possible?
-1
votes
0answers
8 views

how to add new product ( hidden list ) forr smartcart jquery pluguin? [migrated]

i am using smartcart 2 jquery pluguin on my application to handle session cart. the user can create new product and add it to his cart. i use ajax call to save the product in my list .and then i need ...
-1
votes
0answers
170 views

Good source code project examples of MVC 4/Jquery I could use as a reference? [closed]

I have a few projects like Sportstore (from a MVC book) and MusicStore (from the MVC web site) I use as reference sometimes.. Is there any good site that combines MVC 4/Jquery or even just Jquery ...
6
votes
3answers
147 views

Issues to be considered while loading jQuery?

I have seen many answers in SO regarding using Google's CDN to load jQuery instead of loading it from the local server. In essence I understand this is the issue related with decreased latency, ...
-2
votes
0answers
28 views

Need to table to say a custom error I get from a data base when there is an invalivd search [closed]

When a search is ran if there are no results a "No results found" line is added to the table. When a invalid search is ran such as a user searching for a fake country. I need to access the label ...
2
votes
2answers
225 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 ...
0
votes
2answers
167 views

Client = Html5 + CSS3 + JS + Jquery. Server =?

I want to build most of my functionality on the client. However I'm not quite sure which server-side web development framework can provide me with a nice REST endpoint to handle resources, business ...
0
votes
3answers
114 views

What tools can I use for professional document-creation and -printing in PHP? [closed]

I'm in the process of building a new pledge management system for one of my clients, a charity foundation. I have already built one for them (it was done using Delphi), but its feature-set is a little ...
-4
votes
1answer
87 views

Check Javascript coding practice and overall performance [closed]

I have a Edit/Details form which has 4 user related fields. On click of Save, I save the edited fields to local storage (if supported) and display the same values in the Details view. Below is the ...
1
vote
1answer
98 views

Finding the possible combinations of x switches out of y being true

I am working on an algorithm to find possible fills for gaps in text. My function will receive as input: (example) [false,"o",false,"b",false,"r"] representing the string "foobar" with some values ...
1
vote
1answer
77 views

What's the protocol for a autoexecuting JQuery plugin?

I have a jQuery Plugin that I use myself which modifies the selected value of select items on a page. In my own code the plugin automatically executes as soon as it is included in the page this code ...
1
vote
1answer
138 views

Why do we program each file separately and place them in separate folders and how do all these file come together?

I was wondering how the cover flow effect is coded. I used this link which gave me the code on how it all worked out : http://luwes.co/labs/js-cover-flow/. I am completely new to complex programs so ...
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 ...
2
votes
1answer
139 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 ...
3
votes
1answer
92 views

use of jquery-latest

I recently had some code I wrote a year ago fail because someone linked my code to http://code.jquery.com/jquery-latest.js In the latest version, jquery had deprecated/replaced a function. ...
38
votes
3answers
2k views

Is jQuery an example of “god object” antipattern?

I want to ask – I am slowly learning jQuery. What I see is an exact example of a God Object anti-pattern. Basically, everything goes to the $ function, whatever it is. Am I right and is jQuery ...
0
votes
0answers
138 views

Admin Panel like Custom Framework [closed]

I want to Create a Framework , like Admin panel , which can rule almost all the aspects of what is shown on the frontend. For an (most basic) example: If suppose the links which are to be shown in a ...
2
votes
2answers
160 views

Using which technique does facebook and pininterest show images?

If anybody has ever noticed that when you open a image in Facebook something like this happens:- suppose you are at your homepage on Facebook:- the URL is https://www.facebook.com/ now if you open a ...
5
votes
1answer
102 views

Creating and assigning console.log a new object

I have seen code like this in several places: (function() { var method; var noop = function noop() {}; var methods = [ 'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', ...
1
vote
1answer
168 views

GPL question : web application using Imagick and GhostScript => Which would be the final licence?

I am a bit confusing and I need your help to undertand my problem. I have developed a web application (PHP, JQuery) for one of my customer. Recently, my customer ask me to add a new feature ...
0
votes
1answer
83 views

Suggestions for html tag info required for jQuery Plugin

I have written a tiny bit of jQuery which simply selects all the Select form elements on the page and sets the selected property to the correct value. Previously I had to write code to generate the ...
-2
votes
1answer
98 views

Why is DOM or JQuery considered an API? [closed]

My understanding of an API is this: An API is the interface implemented by an application which allows other applications to communicate with it. So why is DOM or Jquery considered to be an ...
14
votes
7answers
5k views

Advantages of using pure JavaScript over JQuery

What are the advantages of using Javascript-only versus using JQuery-only? I have limited experience with JavaScript and JQuery coding. I've added bits and snippets of each to HTML pages but I've ...
1
vote
2answers
287 views

is it safe to use jQuery and MooTools together?

I just need to know is it safe to use jQuery and MooTools Together in one web framework? I am not trying create application using both of them, but I am in a situation where I need to modify mootool ...
-1
votes
1answer
534 views

Can jQuery be used server side? [closed]

I know that you can use JavaScript server side with node.js, but can we use jQuery for backend as well? Or will I just have to learn CoffeeScript instead of jQuery?
-2
votes
3answers
2k views

How do I Export to excel on aspx page?

I am trying to take data that I request from an access database and put it into and excel file on the client computer. I usually use ajax to request a summary of the data I need. It is formatted ...
5
votes
3answers
2k views

front end development test - html/css/jquery/javascript

We are continually revamping our front end developer test that we do in-house after a candidate has passed an online test. The online test has questions such as: How does a for loop start? What is ...
10
votes
11answers
2k views

Best approach for writing a chess engine?

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++ ...
5
votes
1answer
207 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
394 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
1k 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 ...
1
vote
1answer
670 views

Print three copy of asp.net page two copy with diffrent color [closed]

I have an ASP.Net page. I want to print that page 3 times, 2 copies should carry "COPY WORD, as a watermark". I have written this code code to print three copies, but it's asking confirmation about ...
3
votes
7answers
1k 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 ...
4
votes
2answers
379 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
375 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
315 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: ...
5
votes
4answers
1k 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
206 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 () { ...
6
votes
1answer
3k 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 ...
2
votes
2answers
291 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, ...

1 2 3