Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
117
rated 0 times [  124] [ 7]  / answers: 1 / hits: 154988  / 15 Years ago, thu, june 11, 2009, 12:00:00

Is there an easy way to convert jQuery code to regular javascript? I guess without having to access or understand the jQuery source code.


More From » jquery

 Answers
149

The easiest way is to just learn how to do DOM traversing and manipulation with the plain DOM api (you would probably call this: normal JavaScript).



This can however be a pain for some things. (which is why libraries were invented in the first place).



Googling for javascript DOM traversing/manipulation should present you with plenty of helpful (and some less helpful) resources.



The articles on this website are pretty good: http://www.htmlgoodies.com/primers/jsp/



And as Nosredna points out in the comments: be sure to test in all browsers, because now jQuery won't be handling the inconsistencies for you.


[#99342] Saturday, June 6, 2009, 15 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
daja

Total Points: 407
Total Questions: 103
Total Answers: 103

Location: Ghana
Member since Sun, Mar 27, 2022
2 Years ago
daja questions
Tue, Dec 21, 21, 00:00, 3 Years ago
Thu, Apr 23, 20, 00:00, 4 Years ago
Fri, Sep 6, 19, 00:00, 5 Years ago
Tue, Jul 23, 19, 00:00, 5 Years ago
;