InterviewSolution
Saved Bookmarks
| 1. |
Would you still favor jQuery in a case when things can be done simply using javascript? |
|
Answer» No. If we can accomplish our goals using simple JavaScript, then we should avoid using jQuery. It is because the jQuery library is always xx kilobytes in size, thus there is no use in wasting bandwidth. And because jQuery is built on top of javascript, it has numerous functions that are more complicated than the simple job you can accomplish with javascript. jQuery will also load all dependencies. It will have some speed issues as compared to the javascript code. |
|