Skip to content

Torann/jquery.select-toggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQuery Select Toggle

jQuery Select Toggle is a jQuery plugin which enables secondary items to be toggled based on a form inputs value.

Example

<select id="post-status" name="status" data-toggles="2:#schedule-input">
    <option value="1">Published</option>
    <option value="2">Scheduled</option>
    <option value="3">Draft</option>
</select>

<div id="schedule-input" hidden>
    <label for="post-publish-at">
        Schedule
    </label>
    <input type="date" id="post-publish-at" name="publish_at" value="2015-05-01" min="2015-11-08">
</div>

About

Toggle secondary items in a form

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors