Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="ui-select ui-icon-bt-right">
- <span class="ui-select-bt">
- <span>State</span>
- <span class="ui-icon ui-icon-arrow-d"></span>
- </span>
- <select id="select-choice-1" name="select-choice-1" class='styledselect'>
- <option value="standard">Standard: 7 day</option>
- <option value="rush">Rush: 3 days</option>
- <option value="express">Express: next day</option>
- <option value="overnight">Overnight</option>
- </select>
- </div>
- <script>
- $(function() {
- $('.styledselect').change(function(){
- $(this).prev().find('span:first').html( $(this).find(':selected').text() );
- });
- });
- </script>
Add Comment
Please, Sign In to add comment