---
title: "Explain the concepts of \"$ function\" in jQuery with an example?"  
description: "Explain the concepts of \"$ function\" in jQuery with an example?"  
author: "AVADHESH PATEL"  
published: 2012-09-08  
updated: 2020-09-19  
canonical: https://www.mindstick.com/interview/1532/explain-the-concepts-of-function-in-jquery-with-an-example  
category: "jquery"  
tags: ["jquery"]  
reading_time: 1 minute  

---

# Explain the concepts of "$ function" in jQuery with an example?

$(document).ready(function() {});\
$("a").click(function() {});\
\
$.ajax({\
url: "someurl.php",\
success: function() {}\
});\
\
$ is anonymous of jquery\
\
ex : $("a") or \
\
jquery("a") both are equal\

## Answers

### Answer by AVADHESH PATEL

$(document).ready(function() {});\
$("a").click(function() {});\
\
$.ajax({\
url: "someurl.php",\
success: function() {}\
});\
\
$ is anonymous of jquery\
\
ex : $("a") or \
\
jquery("a") both are equal\


---

Original Source: https://www.mindstick.com/interview/1532/explain-the-concepts-of-function-in-jquery-with-an-example

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
