The development of the Web site must often use pop-up window form, today in the online search a small plug-in leanmodal, recorded here, convenient for their own, but also convenient for others to use.
This plugin is written by a foreigner, small
This article is an example of JS implementation compatible with Firefox and IE iframe properties of the mask layer hidden and display effect. Share to everyone for your reference, specific as follows:
"> -->
I looked up some information and wrote 4 demos:
1. Interlaced coloring
Copy Code code as follows:
$ (' #table1 tr:odd '). addclass (' odd ');
$ (' #table1 tr:even '). addclass (' even ');
Effect:
2. Highlight rows
Copy Code code as follows:
Determines whether the start time is less than the end time
if ($ ("#txtBeginTime"). Length > 0 && $ ("#txtEndTime"). Length > 0) {
if (Date.parse (Timeformattosql ("#txtBeginTime"). Val ()). Replace ("-", "/")) >
Copy Code code as follows:
The first step: Write a JS script file Flash.js
Program code:
function writeflashhtml (ARG)
{
var parm = []
var _default_version = "8,0,24,0";
var _default_quality = "High";
var _default_align = "Middle";
var _
Objective
This happens when you develop, showing only two lines, and if more than two lines are displayed, a "Show more" button appears, clicking on the button to display the contents of the remaining rows. There is a jQuery plug-in that
There are all kinds of landscaping about select box, looking for a lot, and there is no good style effect. So I found a use of UL Li do a similar select box effect, no nonsense, first above, the effect is as follows:
Clicking on a test will show
The example in this article summarizes the use of JDBC. Share to everyone for your reference. The specific analysis is as follows:
Drivermanger: Driver Manager classto manipulate a database, you must first create a connection to the database and
The old routine ~ on demo, too enjoyable first: six-bit character password input
Again on the source code: six-bit character password input device
From the demo I can see that the first input can only six characters, and only allow the input
JS gets a simple instance of the current page name
Take the current page name (without the suffix name)
function pagename ()
{
var a = location.href;
var B = a.split ("/");
var c = b.slice (B.length-1, B.length). toString
Sliders and slide effects are one of the most common ways of displaying content, which is a great way to show a series of items within a limited web space. Today's article will share 20 great jQuery slide plug-ins and tutorials.
Slider Gallery
Recyclerview is a new Widgets in the android-support-v7-21 version, and a CardView will be introduced next time. Official introduction Recyclerview is an upgraded version of ListView, more advanced and flexible. Let's write a simple example to see
Copy Code code as follows:
Using jquery ajax call WCF service Get/post/put/delete
Http://www.codeproject.com/Articles/254714/Implement-CRUD-operations-using-RESTful-WCF-Servic
Using POST method
Retrieve a representation of the addressed
Copy Code code as follows:
' name= ' Chkreceipt '/>
'/>
'/>
'/>
You want to take the selected checkbox behind the hidden field value, as follows:
Copy Code code as follows:
function
for (int i=1,n=tempuser.length;i for (int i=1,;i The custom for (int i=1,;i I tested it right away and found that the performance was a little bit different, even more efficient.
Although the result of this, but with their own mind is really the
Form objects
function GetObject (Name)
{
var inputlist=document.all.tags (' input ');
var i=0;
for (i=0;i{
var input=inputlist[i];
if (Input.id.indexOf (Name)!=-1)
{
return input;
}
}
return null;
}
Setting Object Events
function SetEvent
Filter is a reusable code fragment that can be used to transform HTTP requests, responses, and header information. Unlike a servlet, filter does not produce a request or response, it simply modifies a request for a resource, or modifies a response
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service