File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes jQuery in Action -- jQuery replaces JavaScript? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "jQuery in Action -- jQuery replaces JavaScript?" Watch "jQuery in Action -- jQuery replaces JavaScript?" New topic
Author

jQuery in Action -- jQuery replaces JavaScript?

Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3327

Hi Bear,

It may sound stupid. I have read that jQuery runs on top of JavaScript or based on JavaScript. But my question is that to what extent the developers might use the plain JavaScript? If jQuery is a superset of JavaScript, it should ideally be replacing it. Right?


Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15230

jQuery is written in JavaScript. It does indeed replace the need to write pure JavaScript in a lot of cases but I don't see jQuery as a complete replacement.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15362
    
    6
jQuery replaces enhances JavaScript?

Eric
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3327

Thats great. Thank you Gregg and Eric!

I guess the same may go with CSS also right. As jQuery provides even more good animations or visual effects to the UI components. Or the rule does NOT hold good for CSS?
Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15230

Raghavan Muthu wrote:Or the rule does NOT hold good for CSS?


Not really.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56531
    
  14

jQuery in no way replaces CSS. It makes it easier to manipulate at run-time, but CSS, like JavaScript, is alive and well when using jQuery.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3327

Bear Bibeault wrote:It makes it easier to manipulate at run-time, but CSS, like JavaScript, is alive and well when using jQuery.


Thank you Bear.

Does the statement "easier to manipulate at run-time" means that the CSS attributes (like selectors etc.,) can be chosen at runtime? If so, it would be really a gift to the developers!!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56531
    
  14

Yes, CSS properties are easy to manipulate. See the .css() method.
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3327

Thats great. Thanks Bear
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jQuery in Action -- jQuery replaces JavaScript?
 
Similar Threads
compare with prototype
JavaScript-Retrieve Multiple Values from DropDown
WA #1.....word association
Using $ to retrieve value in JavaScript
Bumper Sticker item requests