to serialize the values in the form to commit$ (' #form1 '). Submit (function () {Using asynchronous commit he does not automatically trigger the Validate () methodSo we need the form () method to automatically determine whether the formif (Myvalidate.form ()) {Asynchronous commit using the Post method$.post ("test.php", $ ("#form1"). Serialize (), function (res) {Alert (res);}, ' json ')}return false;});Two. jquery
As a front-end developer, we come across a wide variety of jquery plugins. Today to share several jquery image slider plug-ins, that is, jquery focus map plug-in, basically will be in each site has an application, you can download to see, maybe you can use.1. jquery multi-map and focus map PluginThis is a special
Although I have also written plug-ins, but the variety of jquery plug-ins, most of the time, I still use someone else to write good plug-ins, these are I use the same kind of plug-in more good some, today to tidy up the public released. Ui:Jquery. Hooray (haha, you write the plugin is necessary)jquery UI (the official UI plu
function a property of the jquery object. The JQuery object name can also be abbreviated to $,JQUERY.SMALLUV==$.SMALLUV.For example, create a jquery global function:Jquery.smalluv ={min:function(A, b) {returnAa:b;}, Max:function(A, b) {returnAb:a;} } $(function(){ $("Input"). Click (function(){ varA = prompt ("Please enter a number:"); varb = Prompt ("Re-enter a
The time to extend jquery. The core approach is the following two types:$.extend (object) can be understood as adding a static method to jquery$.fn.extend (object) can be understood to add a method to a jquery instance$.extend (object)Example:
1234567
/* $.extend 定义与调用* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Compile the jQuery plugin
The jQuery plug-in is actually a method and function called through the jQuery namespace.
JQuery plug-ins are divided into three types:
1. Plug-ins called through objects, such as var obj = $ ("# hello"); obj. plg (); extended through
Below we recommend 25 best tool tip plug-ins for you:
1. Jqtooltip
Jqtooltip
2. pop! Simple Pop Menus with JQuery
pop! Simple Pop Menus with JQuery
3. Jgrowl
Jgrowl
4. Prototip 2
Prototip 2
5. Bettertip
Bettertip
6. Tipsy–facebook-style Tooltip Plugin for JQuery
This article will introduce you to 6 powerful jquery plugins that can help you create complex network layouts and optimize them quickly and easily. 1.Ui. LayoutThe plugin can create any form of UI you want: from a simple title or sidebar, to a complex application that includes toolbars, menus, help panels, status bars, sub-tables, and more. 2.JQUery MasonryDynami
From the jquery API documentation, you can learn about the functions of jquery custom animations. Animate (properties [, duration] [, easing] [, complete]) has four parameters:Properties: A set of style properties and their values that are included as animated and final valuesDuration (optional): Animation execution time, whose value can be a string of one of three predetermined speeds ("slow", "normal", or
From: http://hi.baidu.com/%CE%D2%BA%DC%B0% AE %D5%C5%B2% AE %C2%D7/blog/item/061bc251abf8a24b1138c2e3.html
You can use the custom right-click menu on the webpage to disable the default right-click menu of the browser by using JavaScript. Then, the webpage responds to the right-click event and a custom menu is displayed.
There are many components similar to the right-click menu on the Internet. In general, you should use the default menu of the browser with caution, which will make most us
Notes for jQuery plug-in development,1. It is clear that jQuery has only one namespace.2. Understand that the options parameter is used to control the plugin behavior.3. Set public access permissions for the default plugin.4. Provide public access permissions for sub-functions.5. Private functions are definitely privat
/downloads/listBefore I wrote this log, the use of jquery-based plugins for cookies was almost always incorrect, mainly because the setting of the expiration time was incorrect (if I was wrong, I would apologize first).How to use the cookie plugin:1. Needless to say, first you have to download the jquery and cookies plugin
Jbooklet is a simple web-book jquery Special plugin. The jquery flip-flop plugin implements the basic function of turning the left and right pages, and provides a default style. You can use CSS files to modify the default style to produce a better-looking page turn effect.The plugi
jquery file Uploader is a jquery files drag-and-drop upload plugin, including Ajax uploads and progress bar effects. The idea of the author writing this plugin is to keep it very simple, unlike other plugins, many of the tags, and provide some Hack way to make it compatible with those ancient browsers. The
web-based online applications are already a maturing trend, and the richness and diversity of Web applications is based on JavaScript frameworks, where the jQuery framework is favored by more and more web developers, which allows you to "write less, do more" and easily accomplish complex effects. Here is a 14-image enlarged edit plugin based on jquery.
1,
Lazyload.js is a jquery-based plugin that can be used to buffer the loading of images. If a webpage is long and has a lot of pictures, it takes a lot of time to download the picture, then it will affect the loading speed of the whole page, and this delay loading plugin will load the picture you need to see through your scrolling situation, then it will download t
Lazyload.js is a jquery-based plugin that can be used to buffer the loading of images. If a webpage is long and has a lot of pictures, it takes a lot of time to download the picture, then it will affect the loading speed of the whole page, and this delay loading plugin will load the picture you need to see through your scrolling situation, then it will download t
The following information was viewed in an article on IBM (using JQuery (Intermediate), part 2nd: Creating your own plugin) http://www.ibm.com/developerworks/cn/web/wa-aj-jquery6/?ca= drs-tp4608, after some thoughts of himself.This article is mainly from how to write a plug-in, the middle is mainly used in the Jquery.fn, by defining a closure function, the jquery
jquery-Full-screen scrolling plugin fullpage.js Usage SummaryAuthor GitHub and: Https://github.com/alvarotrigo/fullPage.jsToday, the jquery of a plug-in fullpage.js, you can achieve full-screen scrolling, very popular effect, compatibility ie8+ is good, using the site has millet, and other electronic products, auto full-screen scrolling display, looks relatively
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.