Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Javascript to jQuery; where should the transition occur

Featured Replies

Hi All

 

I have been given the task of learning Javascript/Jquery.

 

I will start learning javascript and then move onto jQuery.

 

I already have limited knowledge of both and have used them in my sites to some degree.

 

The question is:

 

To what extent/depth do I look into javascript before I make the jump to JQuery. At what point when learning javascript do I say "right I have enough raw javascript knowledge, now its time to move to JQuery".

 

When ever you read articles its either Javascript only or its Jquery.

What an odd task to be given. Learning a specific script I can understand, but to be tasked with learning JavaScript/jQurey in general...

 

A knowledge of JavaScript will allow you to understand what jQuery is doing. There is no upper limit on the knowledge of JavaScript that will be useful, but there are a few things that will help you understand what's happening:

Make sure you have a sound understanding of how scope works in JavaScript -- it's really not that complicated, but you'll need to know which variables are working. Additionally, be aware that jQuery favours annonymous functions which means that a variable in one function may not be available in another.

Wrap your head around JavaScript's this keyword. Whenever jQuery adds an event, the this keyword is always a reference to the element the event is bound to. The documentation on the jQuery website explain this a little better.

The only other thing that I can think you should investigate is DOM Scripting, since jQuery is very DOM-centric.

 

Hope this helps

  • Author

Thats brilliant. Thanks for that.

 

Basically I want to be able to code my own javascript/Jquery. Understand it enough to build my own plugins instead of looking for other peoples stuff and copying that.

 

I think as the web moves forward with HTML 5, javascript is going to become more important.

 

What do you think?

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.