JQuery AJAX Capabilities Training Videos for Beginner - PowerPoint PPT Presentation

About This Presentation
Title:

JQuery AJAX Capabilities Training Videos for Beginner

Description:

JQuery AJAX Capabilities Training Videos for Beginner is designed by Jquery industry experts, through this tutorial you are going to learn Ajax global event-handlers,Ajax shorthand functions, Ajax helper functions,ajax setup method,ajax get method,ajax set method in in-depth manner. Also access free video,online resources of Jquery. – PowerPoint PPT presentation

Number of Views:45

less

Transcript and Presenter's Notes

Title: JQuery AJAX Capabilities Training Videos for Beginner


1
JQuery AJAX Capabilities Training Videos for
Beginner by
2
Highlights
  • Global Ajax Event handlers
  • Shorthand functions Helper functions
  • AJAX SETUP Method
  • AJAX Get and Set Methods

3
Global Ajax Event handlers
  • Ajax methods register handlers to be called for
    specific events.
  • Initialization or completion takes place for
    every Ajax request.
  • Ajax methods are .ajaxComplete(), .ajaxError(),
    .ajaxSend(), .ajaxStart(), .ajaxStop(),
    .ajaxSuccess().
  • .ajaxComplete() method register a handler to be
    called when Ajax requests complete.
  • .ajaxError() register a handler to be called when
    Ajax requests complete with an error.

4
Global Ajax Event handlers
  • .ajaxSend() method attaches a function to be
    executed before an Ajax request is sent.
  • .ajaxStart() method register handlers to be
    called when the first Ajax request begins.
  • .ajaxStop() method register a handler to be
    called when all Ajax requests have completed.
  • .ajaxSuccess() method attaches a function to be
    executed whenever an Ajax request completes
    successfully.

5
Shorthand methods Helper functions
  • Shorthand methods executes regular types of Ajax
    requests.
  • Shorthand methods are five types, they are
    jQuery.get(), jQuery.getJSON(), .load()
    jQuery.getScript(), jQuery.post().
  • jQuery.get() method loads data from the web
    servers.
  • jQuery.getJSON() loads JSON encoded data from the
    web servers.
  • .load() method loads data from the web servers.
  • jQuery.post() method loads data from the web
    servers.

6
Shorthand methods Helper functions
  • jQuery.getScript() method loads JavaScript file
    from the server and executes it.
  • Helper functions handle common idioms encounter
    while performing Ajax tasks.
  • Helper functions are three types, they are
  • .serializeArray() function encodes form elements
    as an array of names and values.
  • .serialize() function encodes form elements as
    strings for submission.
  • jQuery.param() function creates serialized
    representation of an array, plain object, or a
    jQuery object suitable for use in a URL query
    string or Ajax request.

7
AJAX SETUP Method
  • Sets default values for future AJAX requests.
  • Syntax .ajaxSetup(namevalue, namevalue, ...
    )
  • Plain object is the option for Ajax setup method
  • Plain object stands for set of key or value
    pairs which configure the default Ajax request.
  • Async, cache, contentType, context, data,
    dataType, global, password, processData are some
    possible names of Ajax setup method

8
AJAX Get and Set Methods
  • Uses to request data from the server.
  • Get() method requests and retrieve data from a
    specified resource.
  • Syntax .get( URL, callback)
  • Post() method submits data to the web servers.
  • Syntax .post( URL, data, callback)

9
Feedback
Like It ? Hate It?
We would love to hear from you whatever you think
about the course.
Click HERE to share what you think!
10
Thank you
Thank You for Watching JQuery AJAX Capabilities
Training Videos for Beginner by
http//www.courseing.com
Write a Comment
User Comments (0)
About PowerShow.com