0

I am little confused about in what scenario Ajax.load() method is used and what scenario jQuery.ajax() is used.

There are many AJAX method, I am mainly confused between ajax.load() and simple ajax

2

1 Answer 1

0

The load function is specifically used for loading in content from another page, into an element on your current page.

The other two functions are general-ajax functions that jQuery provides. Also, .get() is just shorthand for sending a $_GET request via AJAX.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.