4. <script> $(document).ready(function () { $("#tabs").tabs(); }); </script> <div id="tabs" style="width:500px;"> <ul> <li><a href="#fragment-1"><span>Contact Info</span></a></li> <li><a href="#fragment-2"><span>Address Info</span></a></li> <li><a href="#fragment-3"><span>Vehicle Info</span></a></li> </ul> <div id="fragment-1"></div> <div id="fragment-2"></div> <div id="fragment-3"></div> </div> jQuery Plugins jQuery UI provides abstractions for low-level interaction and animation, advanced effects and high-level, themeable widgets, built on top of the jQuery JavaScript Library, that you can use to build highly interactive web applications.
9. Widget Factory (function ($) { $.widget("ui.tab1", { // default options options: { hidden: false }, _create: function () { var self = this; var options = this.options; self._loadEventHandlers(); }, _init: function () { var self = this; var options = this.options; }, destroy: function () { $.Widget.prototype.destroy.apply(this, arguments); // default destroy } }); } (jQuery)); It provides a flexible base for building complex, statefulplugins with a consistent API.
11. $.post() Load data from the server using a HTTP POST request. $(‘#selector’).load() Load data from the server and place the returned HTML into the matched element. $.get() Load data from the server using a HTTP GET request. AJAX
12. What is jQuery Who uses jQuery jQuery Plugins jQuery Templates Widget Factory AJAX QUESTIONS? Conclusion