(Sort, select, skip multiple option) drop-down list box 1<=> drop-down list box (improved version)

Source: Internet
Author: User
Description: Is the last time the program's improved version!
This program supports sorting, shift, and CTRL functions! (ie: re-election and skip multiple option options)
You can manipulate any of them (drop-down list box 1<=> drop-down list box 2)!
If the multidimensional array is complex, you can write a sort function yourself!
The parameters passed by sort () in JavaScript are the two record of the array (my definition), by default
Character sorting.
The sort pass parameter is also an array, example array A is as follows:
A[0][0]=1;
a[0][1]=2;
a[0][2]=3;
a[0][3]=4;
A[1][0]=1;
a[1][1]=2;
a[1][2]=3;
a[1][3]=4;
A[2][0]=1;
a[2][1]=2;
a[2][2]=3;
a[2][3]=4;
The parameters that are passed each time are:
a[0]={1,2,3,4}
a[1]={1,2,3,4}
。。。。。。。
Then you can make an array of arguments (actually the record in the array) on request.
To sort by a field in the
Select.htm
<meta content= "text/html; charset=gb2312 "http-equiv=content-type>
<link rel= "stylesheet" href= "Common.css" >
<body bgcolor=skyblue>
<form action= "select.htm" method= "post" name= "MyForm" >
<br><br><br>
<div align= "center" ><center><left>
<table style= "Font-size:smaller" >
<tr><td>

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.