Home > Web Front-end > JS Tutorial > body text

Create a personalized Select (editable)_form effects

WBOY
Release: 2016-05-16 19:26:18
Original
883 people have browsed it

Since the system's built-in Select is really not easy to use, here I wrote a brand new Select using javascript.

Function:
1. Editable Select
2. The length can be modified at will
3. Can cover the system Select
4. Support forms
5. Support CSS to modify the appearance
6. Fix the problem of running errors on IE 5.0
7. Support the use of js scripts
Usage
[b]var materialized variable=new editselect(name, length, default string, width, height, read-only)[/b]
[b] materialized variable.add(option value, JS script)[/b]

This is just a beta version, many functions are not perfect, such as not distinguishing between value and caption, etc. I hope everyone can provide valuable opinions.

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!