How to define a function in jQuery?

Posted by Jennifer | Updated on

In this example you will learn, how to define a function in jQuery. The syntax for defining a function in jQuery is little bit different from the JavaScript. Let’s take a look at the following example to understand how to define a function in jQuery.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers