3
Contributors
14
Replies
36
Views
3 Years
Discussion Span
Last Post by Siberian
0

Take a look at this example.

http://jsfiddle.net/42yaE/8/

When working with anchor <a/> elements, keep in mind that they have a default behaviour which is to load some information. You need to prevent that loading from happening if you simply want them to initiate some process that is not related to redirecting/loading a new page.

0

I thought it had to do with FireFox NoScript extension because I found a post relating to the error message that you can change a setting within NoScript.

I never knew about events in jQuery do they work identical to events in Javascript ?

Edited by Siberian

0

I never knew about events in jQuery do they work identical to events in Javascript ?

I'm not exactly sure what you mean, but the first thing you need to understand about jQuery is that its a JavaScript library, meaning that jQuery is simply JavaScript code, nothing more.

0

I've never seen event used in that manner with Javascript, yet jQuery is as you say, nothing more then Javascript.

0

Yes, the events are used in plain old javascript; it's the vehicle for making this happen in your javascript code. For example, onclick, onmouseover, etc... It's just written a different way.

JQuery's main purpose is for you to develop your code easier and quicker. Their slogan is "write less, do more"

Edited by JorgeM

0

I know how to use events in Javascript; the only thing being the syntax.

0

Ok, so is there any additional help needed on this thread or are you good at this point with regard to the jQuery example/div hiding/fadeIn, etc..?

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.