Questions tagged [jquery]

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

214 questions
12
votes
5 answers

Pros and cons of hosted scripts

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 using hosted scripts in reality? Are the scripts…
12
votes
6 answers

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 period). I don't have the knowledge of any other…
Saeed Neamati
  • 18,210
5
votes
1 answer

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 of functions, jQuery selectors, etc. Is there a way…
3
votes
0 answers

How can I control properties scope while developing plugin in jQuery

I had a generic task in my project which required changing some elements. Instead of making changes for each element I decided to create a plugin for the common task and then bind plugin with each element. I had no prior experience of creating…
3
votes
1 answer

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. Nice to have a dynamically updated version but my code…
jim smith
  • 133
2
votes
3 answers

Does jQuery basically use CSS3 for animation and effects?

I originally started out this question with "what is jQuery, and how does it work", in terms of all that fancy animation, effects, slideshow plugins, etc. I was uncertain as to how JQuery does all that fancy stuff. But after reading around on the…
vicente
  • 29
1
vote
2 answers

Effective way of using jQuery

I am trying to modify the DOM via javascript. I've been suggested to use jQuery like this var options = $("
") .append( $("
    ").append( $("
  • ") .text("Resolution: ") …
-1
votes
1 answer

Align draggable elements in line and generate without overflow or new line

I have this script I'm working on. What it should do is generate a new div every time I press a button and I've already done that, but those are not draggable. I think that happens because of the onLoad function but alternative do I have? The…
Sergiu
  • 101