jQuery methods that no one know | @coderamjad

Words
174
Reading
1 min
5y
Listen to this post
~1 min

Hello my friends on the internet today i want to tell you about some amazing methods of jQuery that no one know

My Folder Structure

These following files i have in my directory with their basic code

  • index.html
  • app.js
)

First Method

The first method in my list in $.get(url,callback) this is jQuery method is used to call api with get method & this is the most powerful method of the jQuery which you can see in the images bellow.

)
)

Second Method

The second method in my list in $.post(url,data,callback) this is jQuery method is used to call api with post method & this is the most powerful method of the jQuery which you can see in the images bellow.


Third Method

The third method in my list is $.off() this method is work like removeEventListner in javascript this method is used to remove events add with $.on() mehtods of jquery which you can see below

Thanks for reading and follow for more mind blowing content and also help me to grow on this platform.