Select2 Placeholder Issue

Select2 Placeholder Issue

by Girisha Chennura

HTML

<script src="http://ivaynberg.github.com/select2/select2-2.1/select2.js"></script>
<link rel="stylesheet" href="http://ivaynberg.github.com/select2/select2-2.1/select2.css">
<select placeholder="Some test placeholder">
    <option value="" disabled="disabled" selected="selected">Select your option</option>
    <option>jkjkkj</option>
</select>

CSS

body {
    margin: 50px
}

select {
    width: 200px;
}

JavaScript

$(document).ready(function() {
    $('select').select2({
        placeholder: "Some test placeholder"
    });
});


/*
$(document).ready(function() {
    $('select').select2({
        placeholder: "Some test placeholder"
    });
});
*/