Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An jQuery plugin for easy init select or select option value to input name

License

Notifications You must be signed in to change notification settings

humorwang/easySelect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

5 Commits

Repository files navigation

easySelect

An jQuery plugin for easy init select or select option value to input name

example

<!doctype html>
<html>
<head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 <meta charset="utf-8">
 <title>easy select</title>
 <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
 <script src="./eqsySelect.js"></script>
</head>
<body>
 openType:<select class="easySelect" name="openType" key="openType" addEmpty="false" val="2"></select>
 <hr>
 openTypeStr:<input class="easySelect" name="openType" key="openType" val="1"/>
</body>
<script>
 $(".easySelect").easySelect({
 url: '/easySelect.json',
 type: 'GET', //the url request type. default is get
 addEmpty: true //default is false . if you set this value is true. then you can see the html body.
 });
</script>
</html>

About

An jQuery plugin for easy init select or select option value to input name

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /