If you want to show any message to the user then you need to show toast in android. This toast is just like a snack bar. You can also make a custom toast.
jQuery Ajax is the powefull tool of jQuery, You can create attractive webpage with the help of JQuery ajax. jQuery's Ajax methods return a superset of the XMLHTTPResuest object.